Commit d3be4d8c authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

fix loop

parent e45f7406
......@@ -5,7 +5,7 @@
{% if pillar.fbkusers is defined %}
{% for user in fbkusers %}
{% for user in pillar.fbkusers %}
{{ user }}-group:
group.present:
......
......@@ -4,7 +4,7 @@
{%- from fbkusersroot ~ "/map.jinja" import fbkuserssettings with context %}
{% if pillar.fbkusers is defined %}
{% for user, options in fbkusers %}
{% for user, options in pillar.fbkusers %}
{% if options["fsperm"] %}
{% for dir in options["fsperm"] %}
......
......@@ -4,7 +4,7 @@
{%- from fbkusersroot ~ "/map.jinja" import fbkuserssettings with context %}
{% if pillar.fbkusers is defined %}
{% for user, options in fbkusers %}
{% for user, options in pillar.fbkusers %}
{% if options["groups"] %}
{% for group in option["groups"] %}
......
......@@ -4,7 +4,7 @@
{%- from fbkusersroot ~ "/map.jinja" import fbkuserssettings with context %}
{% if pillar.fbkusers is defined %}
{% for user, options in fbkusers %}
{% for user, options in pillar.fbkusers %}
{% if options["sshkey"] %}
{% for key in options["sshkey"] %}
......
......@@ -4,7 +4,7 @@
{%- from fbkusersroot ~ "/map.jinja" import fbkuserssettings with context %}
{% if pillar.fbkusers is defined %}
{% for user, options in fbkusers %}
{% for user, options in pillar.fbkusers %}
{% if options["sudocmd"] %}
/etc/sudoers.d/{{ user }}-cmd:
......
......@@ -4,7 +4,7 @@
{%- from fbkusersroot ~ "/map.jinja" import fbkuserssettings with context %}
{% if pillar.fbkusers is defined %}
{% for user, options in fbkusers %}
{% for user, options in pillar.fbkusers %}
{% if options["sudoservice"] %}
{% for service in options["sudoservice"] %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment