Disable user management
We use the user shipped with the memcached package, prevent the formula from overwriting its passwd configuration. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
7606cb5069
commit
f7f465f50d
@ -4,12 +4,6 @@
|
|||||||
include:
|
include:
|
||||||
- memcached
|
- memcached
|
||||||
|
|
||||||
memcached_user:
|
|
||||||
user.present:
|
|
||||||
- name : {{ get_config_item('user') }}
|
|
||||||
- createhome: False
|
|
||||||
- shell: /sbin/nologin
|
|
||||||
|
|
||||||
{{ memcached.config_file }}:
|
{{ memcached.config_file }}:
|
||||||
file:
|
file:
|
||||||
- managed
|
- managed
|
||||||
@ -30,8 +24,6 @@ memcached_user:
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: memcached
|
- service: memcached
|
||||||
- require:
|
|
||||||
- user: memcached_user
|
|
||||||
|
|
||||||
{%- if grains['os_family'] == 'Suse' %}
|
{%- if grains['os_family'] == 'Suse' %}
|
||||||
memcached_settings_suse:
|
memcached_settings_suse:
|
||||||
|
Loading…
Reference in New Issue
Block a user