Created
June 29, 2015 12:32
-
-
Save anonymous/9685db5691003a7c858c 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
bacula.passwords: | |
host1: abc123 | |
host2: def456 | |
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
{% import_yaml 'bacula.sls' as b %} | |
{% if grains[ 'id' ] in b[ 'bacula.passwords' ] %} | |
bacula.password: {{ b[ 'bacula.passwords' ][ grains[ 'id' ] ] }} | |
{% endif %} | |
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
base: | |
'*': | |
- baculaMinion | |
'bacula-director': | |
- bacula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment