Skip to content

Instantly share code, notes, and snippets.

@UtahDave
Created August 5, 2014 18:08
Show Gist options
  • Save UtahDave/90368d2714c86e3d6367 to your computer and use it in GitHub Desktop.
Save UtahDave/90368d2714c86e3d6367 to your computer and use it in GitHub Desktop.
Auto include minion specific sls file
### top.sls (more tweaks)
dev:
'*':
- nodes.{{ grains['id' }}
base:
'*':
- nodes.{{ grains['id' }}
------------
### nodes/pdx-caf-kvm-stg-1.int.sls
include:
- common
- shorewall
------------
### nodes/pdx-stg-master.stg.sls
include:
- common
- ipa.server
- firewalld
- cobbler
- sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment