Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2013 21:33
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/6197433 to your computer and use it in GitHub Desktop.
Save anonymous/6197433 to your computer and use it in GitHub Desktop.
top.sls (both states/top.sls and pillar/top.sls)
base:
'*':
- common
'*vagrant or G@virtual:VirtualBox':
- match: compound
- dev
'*.mydomain.com':
- prod
====
states/dev.sls:
include:
- nginx (the nginx state)
====
pillars/common.sls
nginx:
version: 1
=====
pillars/dev.sls
nginx:
sites:
'site' ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment