- From: Seth Falcon <
>
- To:
- Subject: [chef] Re: Re: Re: Chef demo
- Date: Wed, 07 Aug 2013 20:09:34 -0700
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
Archive powered by MHonArc 2.6.16.