i would be greatfull for help. I do not understand at all, how should i manage the Node data locally with my Git versioning system?
Exceprt from the Chef Documentation: http://wiki.opscode.com/display/chef/Nodes
knife node create foobar
{
"normal": {
},
"name": "foobar",
"override": {
},
"default": {
},
"json_class": "Chef::Node",
"automatic": {
},
"run_list": [
"recipe[zsh]",
"role[webserver]"
],
"chef_type": "node"
}
I have understood, I can manage this data on the server via knife over the editor!!. And there seem to be a command line option to the local chef-client (most likely -j JSON_ATTRIBS). => But chef-client runs locally and I need to upload the data to the server and then these node-attributes need to be pushed to the client. this is the only viable solution in an larger environment
But how to upload this data with knife? It seems there is no option for this? (only the option with the editor in knife seems to be present?)
Thanks Francois