-
-
Save jbouse/0b9be04b6bd70dbc9256 to your computer and use it in GitHub Desktop.
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
salt 'TESTHOST*' grains.item environment | |
TESTHOST.example.com: | |
---------- | |
environment: | |
development |
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
{% if grains.environment == 'production' %} | |
prefix: | |
{% elif grains.environment == 'development' %} | |
prefix: dev | |
{% elif grains.environment == 'demo' %} | |
prefix: demo | |
{% elif grains.environment == 'QA' %} | |
prefix: qa | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment