[chef] Re: how to interchange data between different recipes on open source chef


Chronological Thread 
  • From: Seth Falcon < >
  • To:
  • Subject: [chef] Re: how to interchange data between different recipes on open source chef
  • Date: Tue, 10 Sep 2013 08:35:03 -0700

Hi Sam,


 writes:
> I have two recipes my open source chef server and need to interchange some
> data between them. I wondering how to do that. If someone give a hint, it
> will much appreciated.
>
> PS: I tried to write the data into a databag, but failed as below. It looks
> like recipes save data into a databag is allowed.

> *Net::HTTPServerException
> ------------------------
> 405 "Method Not Allowed"
>

I think the error you are seeing is this bug:

https://tickets.opscode.com/browse/CHEF-4435

You might try creating the data bag ahead of time since actual data
lives in a data bag item in a given data bag.

+ seth

-- 
Seth Falcon | Development Lead | Opscode | @sfalcon




Archive powered by MHonArc 2.6.16.

§