On Friday, November 25, 2011 at 2:04 AM, Bryan Berry wrote:
Myself and M4rcu5 (Marcus Van Dam) are both considering creating nodes and updating them using the “from file” rather than using the “runlist add”, “run_list remove”, -E new_environment, etc. commands. This gives the advantage that node configuration can be kept under git control.
Are there any potential issues with this approach that we should be aware of?
If you’re using Hosted Chef, you’ll need to create the API Client for the node first, and use that to create the node. In Hosted Chef, clients can only update nodes that they “own” (that is, nodes that they created), so creating the node using an admin account will not give the client the required privileges.
If you’re using the open source server, it should work fine.