Last active
August 4, 2016 22:12
-
-
Save pryorda/161042a83a558c6068a68cb822a5a08f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for support_usr in pillar.get('support-users', {}) %} | |
adding_{{ support_usr }}: | |
user.present: | |
- name: {{ support_usr }} | |
- gid: {{ salt['pillar.get']('support-users:{{ support_usr }}:gid', '') }} | |
- shell: /bin/false | |
{% endfor %} | |
Pillar... | |
support-users: | |
test-1: | |
- gid: 506 | |
test2: | |
- gid: 512 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment