- From: Tom Hodder <
>
- To:
- Subject: [chef] set an attribute on a node from the command line?
- Date: Sat, 15 Sep 2012 05:11:57 +0100
Hi,
is there a better way than this...
knife exec -E "nodes.find(:name => '$(hostname)') {|n|
n.set['someattribute'] = ['somevalue'] ; n.save }"
Cheers
Tom
- [chef] set an attribute on a node from the command line?, Tom Hodder, 09/14/2012
Archive powered by MHonArc 2.6.16.