[chef] Re: Re: Is there a library that does this already?


Chronological Thread 
  • From: Sascha Bates < >
  • To:
  • Subject: [chef] Re: Re: Is there a library that does this already?
  • Date: Sun, 09 Sep 2012 11:33:32 -0500

AJ this looks really interesting. And it reminds me that I probably need to go in and browse the cookbooks more often. It would be cool if we could sort by recently added or there was a new cookbooks sections.


Sascha Bates | | 612 850 0444 | | |
On 9/8/12 4:43 PM, AJ Christensen wrote:
Shameless plug: http://community.opscode.com/cookbooks/bag_config

One of our clients needed data-bags to be the 'last mile' of attribute
stacking. Hope this helps.

--AJ

On 9 September 2012 05:42, Booker Bense 
< >
 wrote:
Before I write it, is there a library that implements anything like
this scheme?

Get values from a databag store in the following way

if item[site_workgroup_node] exists
      return value
else if item[site_workgroup] exists
      return value
else if item[site]
      return value
else
      return nil
end

To implement what I want, I suspect the concatenating hash name will
not work since I want
to put acl's around changing the item value via some kind of front
end. The databags will
probably have to be separate.

- Booker C. Bense




Archive powered by MHonArc 2.6.16.

§