Skip to content

Instantly share code, notes, and snippets.

@iggy
Created March 7, 2015 00:43
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save iggy/09a265944d37055e61d7 to your computer and use it in GitHub Desktop.
2 pillars 1 state
nginx:
rootdir: /data/installer
server-name: dev.domain.com
nginx:
rootdir: /data/installer
server-name: qa.domain.com
nginx:
rootdir: /var/www/repo/public_html
base:
'G@tags:dev and G@tags:rst':
- match: compound
- nginx.dev
'G@tags:qa and G@tags:rst':
- match: compound
- nginx.qa
'G@tags:prod and G@tags:rst':
- match: compound
- nginx.prod
'tags:repo':
- match: grain
- nginx.repo
base:
'tags:rst':
- match: grain
- nginx
'tags:installer':
- match: grain
- nginx
'tags:repo':
- match: grain
- nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment