mirror of
https://github.com/saltstack-formulas/reverse-grains-formula.git
synced 2026-10-07 20:59:37 +02:00
Initial commit
This commit is contained in:
1 parent
8ac0ec852e
commit
cb318a6e9f
6 files changed
+154
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user