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:
|
||||
- memcached
|
||||
|
||||
memcached_user:
|
||||
user.present:
|
||||
- name : {{ get_config_item('user') }}
|
||||
- createhome: False
|
||||
- shell: /sbin/nologin
|
||||
|
||||
{{ memcached.config_file }}:
|
||||
file:
|
||||
- managed
|
||||
@ -30,8 +24,6 @@ memcached_user:
|
||||
{%- endif %}
|
||||
- watch_in:
|
||||
- service: memcached
|
||||
- require:
|
||||
- user: memcached_user
|
||||
|
||||
{%- if grains['os_family'] == 'Suse' %}
|
||||
memcached_settings_suse:
|
||||
|
Loading…
Reference in New Issue
Block a user