How do i create a new chef node/client?
-
This is opens up an editor to edit the values you need.
$ sudo knife node create sector5
{ "name": "sector5", "chef_environment": "_default", "json_class": "Chef::Node", "automatic": { }, "normal": { }, "chef_type": "node", "default": { }, "override": { }, "run_list": [ ] }
This can also be done from a json file that you may have create manually.
$ sudo knife node from file sector5.json
© Lightnetics 2024