Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
salt-formulas
fbk-formulas
fbkusers
Commits
b306dc4e
Commit
b306dc4e
authored
Aug 27, 2020
by
Francesco Gionghi
Browse files
fix check pillar exist
parent
63ffc720
Changes
1
Hide whitespace changes
Inline
Side-by-side
fbkusers/sudo/sudocmd.sls
View file @
b306dc4e
...
...
@@ -5,7 +5,7 @@
{% if pillar.fbkusers is defined %}
{% for user in pillar.fbkusers %}
{% if pillar.fbkusers[user]["sudocmd"] %}
{% if pillar.fbkusers[user]["sudocmd"]
is defined
%}
/etc/sudoers.d/{{ user }}-cmd:
file.managed:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment