summaryrefslogtreecommitdiffstats
path: root/salt/common
diff options
context:
space:
mode:
Diffstat (limited to 'salt/common')
-rw-r--r--salt/common/suse.sls4
1 files changed, 4 insertions, 0 deletions
diff --git a/salt/common/suse.sls b/salt/common/suse.sls
index 0ec8894..21889c6 100644
--- a/salt/common/suse.sls
+++ b/salt/common/suse.sls
@@ -8,7 +8,11 @@ include:
- profile.seccheck
- profile.zypp
- profile.prometheus.node_exporter
+ {%- if salt['cmd.run']("awk '/^passwd/{ print $2; exit }' /etc/nsswitch.conf") == 'sss' %}
+ {%- do salt.log.warning('Not configuring local users due to sss') %}
+ {%- else %}
- users
+ {%- endif %}
- .ssh
- postfix.config