[chef] Re: Re: Re: Re: Chef demo


Chronological Thread 
  • From: Jasna Benčić < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Chef demo
  • Date: Thu, 8 Aug 2013 08:49:04 +0200




On Thu, Aug 8, 2013 at 5:09 AM, Seth Falcon < " target="_blank"> > wrote:
"> writes:
> Sure I can clarify.
>
> So, I was reading this http://docs.opscode.com/essentials_node_object.html
> and was wondering how does this happen i.e. storing JSON  file about
> certain node on a Chef server ----> "The node object consists of the
> run-list and node attributes, which is a JSON file that is stored on the
> Chef Server."

In the Chef 11 Server and in current Hosted Chef node data is stored by
compressing the JSON string using gzip and storing the resulting bytes
in a bytea column in postgres. The node name and environment are
duplicated in separate fields.

If you're curious about the pg schema used for OSC (Open Source Chef):

    https://github.com/opscode/chef_db/blob/master/priv/pgsql_schema.sql


+ seth

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

Awesome, thanks for explanation Seth, appreciate it




Archive powered by MHonArc 2.6.16.

§