That's a great idea Charles, I didn't even realize environments had attributes! I don't see my urls changing per environment, but I may need to reconsider this later. Thanks for the idea
Personally I'd want to be able to set different values by environment, and thus would make it a regular attribute rather than data bag content.
On Oct 15, 2011 3:27 AM, "Bryan Berry" < " target="_blank"> > wrote:Eric,sorry to ping you this way but i keep missing u on irc.We use a few proprietary rpms for crapware from HP and Symantec. For a number of sad reasons that will likely remain true in the future, some vendors won't put their rpms in an internet-accessible repository. Further, some teammates have created a couple hacky rpms that we use but won't become publicly accessible.I think others may need essentially a private repo and for that reason i have created the corp-epel.rbI haven't pushed the code to you yet as I still have to figure out this "vendor branch" thing. hopefully will figure that out this weekend.Essentially, the recipe for corp-epel looks for the item "corp-epel" in the data bag "urls" and then points to that url. pretty simple really.More generally, I think that the data bag "urls" could be an excellent way to separate corporate urls for corporate services from recipes.What do you think?
Archive powered by MHonArc 2.6.16.