[chef] passing attributes to recipes


Chronological Thread 
  • From: Steffen Fricke < >
  • To: " " < >
  • Subject: [chef] passing attributes to recipes
  • Date: Thu, 9 Feb 2012 17:41:23 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US

Hello,

 

 

I’m relatively new to chef and I try to figure out, how to pass variable attributes like build file names or build numbers to chef recipes. So the best would be if I could add/overwrite a given attribute in a role/environment by it to knife via command line like: knife environment edit [env_name] “attribute_key=attribute_value”.

 

Is there a recommended way of doing that?

 

Thanks in advance,

Steffen

 

Description: adobe_logo_web

Steffen Fricke
Software QE Developer


Adobe Systems Engineering GmbH

49.40.3063.6454

Grosse Elbstr. 27
22767 Hamburg, Germany

www.adobe.com

 

 

Registergericht: Hamburg HRB 745 37

Geschäftsführer: Michael D. Jamrosy, Thomas Mührke, Joseph J. Nemeth Jr., Richard T. Rowley

 

 

 

 




Archive powered by MHonArc 2.6.16.

§