Salt Stack – salt-grains-environment

VertigoRay/ September 10, 2013/ Uncategorized/ 0 comments

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

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>