Initial commit

This commit is contained in:
Chris Jones committed 2014-09-09 14:09:16 -04:00
1 parent 8ac0ec852e
commit cb318a6e9f
6 files changed
+154 -2

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
####################################################################
# Grains pillar: #
# Only compound matches are uses #
# #
# Matches with single value will appear in /etc/salt/grains as: #
# grain: value #
# #
# Matches with multiple values will appear in /etc/salt/grains as: #
# grain: #
# - value1 #
# - value2 #
####################################################################
grains:
# Grain
environment:
# Grain value
prod:
# Compound match to apply the grain and value to
- G@environment:prod
qa:
- G@environment:qa
dev:
- G@environment:dev
testing:
- G@environment:testing
datacenter:
phx:
- G@id:*phx*
ewr:
- G@id:*ewr*
roles:
database:
- G@id:db*
memcache:
- G@id:memcache*
docker:
- G@id:docker*
logserver:
- G@id:log*
web:
- G@id:web*
subrole:
primary:
- E@web[0-9]+-(phx|ewr).example.com or E@db[0-9]+-(phx|ewr).example.com