[chef] Re: Re: how to translate file from nodes to Chef server?


Chronological Thread 
  • From: oscar schneider < >
  • To:
  • Subject: [chef] Re: Re: how to translate file from nodes to Chef server?
  • Date: Mon, 13 Feb 2012 18:17:56 +0100

Hi,

you could also save the content of the config file as an attribute value, then store the content to a file on the chef server and set the attributes to nil afterwards.
However committing them to a git or svn server seems to be better suited for the job. For commit rights to a svn server you could use the existing Chef client certificates if you dislike anonymous commits. Not sure if git also provides a ssl certificate based frontend.

Cheers,

Oscar 

On Mon, Feb 13, 2012 at 4:54 PM, Brad Knowles < "> > wrote:
On Feb 13, 2012, at 8:29 AM, tetsu soh wrote:

> Is there anyway to get files from each nodes to Chef server?
> I need to collect conf files from nodes and then manage them.

Have each node commit updates to their files to a central code repository server, like git & maybe github or your own private git server?

--
Brad Knowles < "> >
SAGE Level IV, Chef Level 0.0.1





Archive powered by MHonArc 2.6.16.

§