[chef] Re: Re: Ideas on kickstarting a node and auto-applying a role


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re: Re: Ideas on kickstarting a node and auto-applying a role
  • Date: Fri, 14 May 2010 13:34:22 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

On May 14, 2010, at 12:37 PM, John Merrells wrote:

You might be able to do this by writing some ruby code in a role file..... I'm not sure how the chef client determines which cookbooks to download from the server... it might be static.... others on the list can probably answer this.


The server sends the client the cookbooks mentioned in the run_list, and the dependencies those cookbooks have based on their Metadata. If you want to use the libraries, resources, providers or definitions between cookbooks, you need to specify dependencies in the metadata. Likewise if you `include_recipe`, you have to make sure the included cookbook is in the metadata.

http://wiki.opscode.com/display/chef/Metadata

- --
Opscode, Inc
Joshua Timberman, Senior Solutions Engineer
C: 720.334.RUBY E: 


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)

iEYEARECAAYFAkvtpb4ACgkQO97WSdVpzT1ckgCcCSwO8PPvzG0lRhh2iacuevJj
hlIAn1KeLFYF1iyDUNRTS0v2rkssTVoA
=MG+T
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

§