Created
May 1, 2014 20:27
-
-
Save ghaering/11460884 to your computer and use it in GitHub Desktop.
salt top file for muliple environments (production, staging)
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 environment in 'prod', 'devel' %} | |
{% if environment == 'prod' %} | |
base: | |
{% else: %} | |
{{environment}}: | |
{% endif %} | |
'G@roles:offlinemaps and G@environment:{{environment}}': | |
- match: compound | |
- cron | |
- curl | |
- htop | |
- iotop | |
- mc | |
- nethogs | |
- glances | |
- rsync | |
- supervisor | |
- sysctl | |
- tmpreaper | |
- vim | |
- gis-software | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment