[chef] Re: Starting out with the opscode platform.


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: Starting out with the opscode platform.
  • Date: Sun, 29 May 2011 19:21:06 -0700

Normally node's are configured either via the API (knife is a frontend for the API, look at `knife node run_list add` in this case, and `knife node edit` in general) or the web interface, unlike roles which are managed as files. If you would like to manage nodes in files you can do it in the same was as with roles though, just use `knife node show --format json` to dump the current data, and use `knife node from file` to upload changes. Hope that helps!

--Noah

On May 29, 2011, at 7:08 PM, Tim Uckun wrote:

Hey all.

I want through the starting tutorial on the opscode web site using the
opscode platform. Everything worked as expected but I do have one
question.

Apparently the configuration for my node is kept only on the chef
server (not on my workstation). Is this right? I can see the run list
on the server, I can get the run list when I with knife but I don't
see a file anywhere on my machine which lists the node, lists the
variables or the params for the node etc.

Does this mean I need to create a recipe for each node so I can
configure it? What is the best practice for setting up your nodes?

Cheers.




Archive powered by MHonArc 2.6.16.

§