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:
Georg Pfuetzenreuter 2023-04-29 23:23:34 +02:00
parent 7606cb5069
commit f7f465f50d
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -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: