Salt Stack - salt-grains-environment
2013, Sep 10
During my adventures with Salt Stack, I was having issues wrapping my head around how I was going to control what environment my dev machines were in. I even thought that pillar[environment] returning None was a bug. Turns out, I just needed to think more about what process would work in my environment.
To solve this, I have created a very simple custom grain file that would store and set the our `dev` and `pre` environments.
If you want to know how to use it, check out the readme.
If you have issues with it, please use the issue tracker.
General questions and comments can be made here and I’ll get to them as I can.
Tested on: 10.8.4