Last active
August 29, 2015 14:27
-
-
Save TronPaul/4df07b105e97d543d9a8 to your computer and use it in GitHub Desktop.
PIllar troubles v2015.8
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
gitfs_env_whitelist: | |
- base | |
- production | |
gitfs_remotes: | |
- https://github.com/TronPaul/unpro-salt.git | |
- https://github.com/TronPaul/sun-java-formula.git | |
- https://github.com/TronPaul/sensu-formula.git | |
- https://github.com/TronPaul/rabbitmq-formula.git | |
- https://github.com/saltstack-formulas/nfs-formula.git | |
- https://github.com/TronPaul/openvpn-formula.git | |
- https://github.com/TronPaul/openvpn-client-formula.git | |
- https://github.com/TronPaul/bind-formula.git | |
- https://github.com/saltstack-formulas/ntp-formula.git | |
- https://github.com/TronPaul/deluge-formula.git | |
s3.buckets: | |
production: | |
- salt-teamunpro | |
ext_pillar: | |
- s3: | |
bucket: my-secret-bucket | |
environment: production | |
- git: | |
- master https://example.com/giturl.git: | |
- env: base | |
ext_pillar_first: True |
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
# this is the relevant part of the pillar top in base | |
base: | |
'* and G@virtual:VirtualBox': | |
- match: compound | |
- sensu | |
production: | |
'*': | |
- sensu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given this configuration nothing is returned when the node is considered in production.
I see a log message reading
Specified SLS 'sensu' in environment 'production' is not found, which might be due to environment 'production' not being present in "pillar_roots" yet!
, but even if I add a fake entry topillar_roots
for that entry I don't get anything for that file.