Skip to content

Instantly share code, notes, and snippets.

@theredcat
Created October 17, 2016 13:43
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 theredcat/388536370b19fe5fbe3ddb230d7e3119 to your computer and use it in GitHub Desktop.
Save theredcat/388536370b19fe5fbe3ddb230d7e3119 to your computer and use it in GitHub Desktop.
Saltstack name based datacenter selection
base:
'*':
- generic.general
'^[a-z0-9-]+-[0-9]{2}\.ca1\.[a-z-]+':
- match: pcre
- datacenter.ca1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment