Ohai! (I apologize if you received multiple copies of this email. My email client just had a small seizure...) Tonight I was browsing tickets and came across COOK-494. I whipped up a small solution called Chef Sugar (https://github.com/sethvargo/chef-sugar) and published a Gem and Cookbook. I could really use some help testing this out, especially on Windows. The cookbook is fairly simple - it just installs the gem as a chef_gem and requires the library. The Gem itself (also located at the above repository) has two "modes" - DSL and Library. In DSL mode, the
In Library mode, the
You can also use the module as a pure Mixin:
The coolest part is the dynamically-mapped platform names to versioned releasese, such as Many of the methods in the gem are just wrappers around checking node attributes, but there is a very helpful shell module:
There's a little bit of magic under the hood, but all of the code is documented with YARD and should be pretty straight forward. Let me know what you think. Feel free to reply to this thread of shoot me an email directly. If there's a feature/check/helper method you think would be beneficial, open up an Issue on GitHub or send a Pull Request :). Happy Cook(book)ing, |
Archive powered by MHonArc 2.6.16.