[chef] Re: Manage data bag dependencies?


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: Manage data bag dependencies?
  • Date: Fri, 28 Nov 2014 12:22:16 -0500


On Nov 28, 2014, at 6:41 AM, Roland Moriz 
< >
 wrote:

> Hi,
> 
> some cookbooks require data bags and especially wrapper- and role cookbooks 
> tend to require a chain of (encrypted) data bags.
> AFAIK there is no way to describe the dependency/relationship of a 
> cookbooks to data bags, e.g., through some metadata.rb attribute.
> 
> This is a problem if you use chef-solo/knife-solo or a lot of different 
> chef-servers/organizations: You almost always forget to upload/create data 
> bags and need to debug it by hand.
> 
> Any suggestions?

Stop using data bags and use cookbooks instead. You can use recipes and 
resources to the same effect.

--Noah



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail




Archive powered by MHonArc 2.6.16.

§