- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: Is there a library that does this already?
- Date: Sun, 9 Sep 2012 09:43:55 +1200
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.