Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/dbdf75754e6bbf179a9a to your computer and use it in GitHub Desktop.
Save anonymous/dbdf75754e6bbf179a9a to your computer and use it in GitHub Desktop.
{% for service, state in salt['pillar.get']('services', {}).iteritems() %}
{% if state %}
service_list[] = {{ service }}
{% endif %}
{% endfor %}
services:
clock_adjust: true
disk_clean: true
backup: false
net_monitor: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment