[chef] Re: Re: How do I change cookbook dynamically


Chronological Thread 
  • From: Andrea Campi < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: Re: How do I change cookbook dynamically
  • Date: Thu, 14 Feb 2013 10:23:04 +0100

+1

I find that building an external API server that eg returns JSON, and then building a Chef library to consume that is often the easiest way to integrate with external systems.

If you make it look somewhat like a data bag, that makes it easy and flexible.

On Feb 14, 2013, at 8:20 AM, Ranjib Dey < "> > wrote:

why not treat them as variables? and grab them via some web api call? I have done similar stuff where i fetched artifact/build details from teamcity using teamcity API,



On Wed, Feb 13, 2013 at 11:17 PM, mayank verma < " target="_blank"> > wrote:
Hello folks,

Scenario :

Having variables like artifacts & version with values, getting from a run-deck job.
I need to dynamically change an existing cookbook artifacts file's variable values
with value getting from a run-deck job . How do I change this ?

Please suggest.

Thanks,
Mayank





Archive powered by MHonArc 2.6.16.

§