Is there a library that does this already?


#1

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

#2

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 bbense@gmail.com 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

#3

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 | sascha.bates@gmail.com | 612 850 0444 |
sascha.bates@skype | sascha_bates@yahoo |
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 bbense@gmail.com 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

#4

The What’s Cookin’ section of the food fight show always covers the
latest cookbook updates. Check http://foodfoghtshow.org.

Would you be interested in a weekly email and/or RSS feed?


Nathen Harvey

On Sep 9, 2012, at 12:33 PM, Sascha Bates sascha.bates@gmail.com wrote:

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 | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
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 bbense@gmail.com 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

#5

For cookbook additions? For real I totally would!

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 |
sascha.bates@skype | sascha_bates@yahoo |
On 9/9/12 11:52 AM, Nathen Harvey wrote:

The What’s Cookin’ section of the food fight show always covers the
latest cookbook updates. Check http://foodfoghtshow.org.

Would you be interested in a weekly email and/or RSS feed?


Nathen Harvey

On Sep 9, 2012, at 12:33 PM, Sascha Bates sascha.bates@gmail.com wrote:

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 | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
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 bbense@gmail.com 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

#6

It would probably be additions and updated cookbooks.

Prefer email, rss, both?


Nathen Harvey

On Sep 9, 2012, at 3:08 PM, Sascha Bates sascha.bates@gmail.com wrote:

For cookbook additions? For real I totally would!

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
On 9/9/12 11:52 AM, Nathen Harvey wrote:

The What’s Cookin’ section of the food fight show always covers the
latest cookbook updates. Check http://foodfoghtshow.org.

Would you be interested in a weekly email and/or RSS feed?


Nathen Harvey

On Sep 9, 2012, at 12:33 PM, Sascha Bates sascha.bates@gmail.com wrote:

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 | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
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 bbense@gmail.com 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

#7

Hi,

On 9/9/12 12:30 PM, Nathen Harvey wrote:

It would probably be additions and updated cookbooks.

Prefer email, rss, both?

Email would be awesome.

Cheers,

Steven


Steven Danna
Systems Engineer, Opscode, Inc
GPG Key: http://stevendanna.github.com/downloads/code/public.key


#8

RSS for me.

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 |
sascha.bates@skype | sascha_bates@yahoo |
On 9/9/12 2:30 PM, Nathen Harvey wrote:

It would probably be additions and updated cookbooks.

Prefer email, rss, both?


Nathen Harvey

On Sep 9, 2012, at 3:08 PM, Sascha Bates sascha.bates@gmail.com wrote:

For cookbook additions? For real I totally would!

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
On 9/9/12 11:52 AM, Nathen Harvey wrote:

The What’s Cookin’ section of the food fight show always covers the
latest cookbook updates. Check http://foodfoghtshow.org.

Would you be interested in a weekly email and/or RSS feed?


Nathen Harvey

On Sep 9, 2012, at 12:33 PM, Sascha Bates sascha.bates@gmail.com wrote:

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 | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
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 bbense@gmail.com 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

#9

Both!

Sent from a mobile device.
Please excuse any spelling errors.

On 10 Sep 2012, at 00:43, Sascha Bates sascha.bates@gmail.com wrote:

RSS for me.

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
On 9/9/12 2:30 PM, Nathen Harvey wrote:

It would probably be additions and updated cookbooks.

Prefer email, rss, both?


Nathen Harvey

On Sep 9, 2012, at 3:08 PM, Sascha Bates sascha.bates@gmail.com wrote:

For cookbook additions? For real I totally would!

Sascha Bates | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
On 9/9/12 11:52 AM, Nathen Harvey wrote:

The What’s Cookin’ section of the food fight show always covers the
latest cookbook updates. Check http://foodfoghtshow.org.

Would you be interested in a weekly email and/or RSS feed?


Nathen Harvey

On Sep 9, 2012, at 12:33 PM, Sascha Bates sascha.bates@gmail.com wrote:

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 | sascha.bates@gmail.com | 612 850 0444 | sascha.bates@skype | sascha_bates@yahoo |
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 bbense@gmail.com 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