- From: Ilya Maltsev <
>
- To:
- Subject: [chef] how to correctly modify the properties of Nodes using Chef-API or Spice
- Date: Wed, 18 Jan 2012 11:12:02 +0400
Hello!
We try using Spice, change the properties of nodes: run_list,
attributes.
node = Spice.node("one")
node.name = "one"
node.run_list = {:name => "some", :type => "role"}
node.to_json
node.save
We get the following error:
wrong number of arguments (0 for 1)
Help us, how to correctly modify the properties of Nodes using Chef-API
or Spice
--
Best regards,
Ilya Maltsev
- [chef] how to correctly modify the properties of Nodes using Chef-API or Spice, Ilya Maltsev, 01/17/2012
Archive powered by MHonArc 2.6.16.