[chef] Re: the name of cookbook when adding to run_list


Chronological Thread 
  • From: Dreamcat4 < >
  • To:
  • Subject: [chef] Re: the name of cookbook when adding to run_list
  • Date: Tue, 3 Aug 2010 10:19:47 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=pFqODbMOeXLvdpfJ1FjMNT3UH1i4wD/7QtanhQ2webJFhW8+OAITeK3NlQQoeQ3zC+ OavV2jUyX0we+rSRhwDWV75gU3rY2Qyrdbt95sDZtqK1EsBmChvLlTzc2IVTG4jVANh/ i/qfZZ8STOF+VMsymJW5Dr/Ua2+lPixOoTb0k=

That is selection of a recipe within the cookbook.

So when adding the extra string it will run the matching recipe file:

file: "cookbook/recipe.rb" = "cookbook::recipe"
file: "cookbook/default.rb" = "cookbook::default"
file: "cookbook/default.rb" = "cookbook"

On Tue, Aug 3, 2010 at 9:49 AM,  
< >
 wrote:
> Hi
>
> what is different between
>
> knife node run_list add "ldap-server.ingdirect.intranet" template::default
>
> and
>
> knife node run_list add "ldap-server.ingdirect.intranet" template
>
> does it mean something when adding a string after :: in cook book name ?
>



Archive powered by MHonArc 2.6.16.

§