-
-
Save anonymous/1b5f22d6fd394987ab9316bf3af93a29 to your computer and use it in GitHub Desktop.
Pillar top.sls using includes?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base: | |
# Apply convenience labels based purely on minion id. This is | |
# commonly (but not always) the FQDN of the system. | |
# | |
# WARNING: THESE LABELS ARE PROVIDED MERELY AS A CONVENIENCE FOR | |
# MINION TARGETTING PURPOSES ONLY. DO NOT RELY UPON THEM FOR | |
# DEPLOYMENT DECISIONS | |
# | |
# Trusting the minion id to be A) accurate B) formatted correctly | |
# C) not deliberately misnamed is inviting Very Bad Things | |
# | |
### Location ### | |
'as*': | |
- site.austin | |
'hq*': | |
- site.hq | |
'se* or sev*': | |
- match: compound | |
- site.seattle | |
'* and not ( as* or hq* or se* or sev* )': | |
- match: compound | |
- site.unknown | |
'*': | |
- envinclude |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment