- From: Daniil S <
>
- To: "
" <
>
- Subject: [chef] Edit attribute by chef API (ruby)
- Date: Tue, 5 Nov 2013 05:29:42 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=2vpjzrvR7sgqsxq322P/yb/joxsUH590fEmFUb4vz3+NsHbgVY6RfVHv9BGiihvf8MLnCuVKD5mseE6xzhUmiEZx/WuZG6dqwt8unm9nndS0OBeX5HNjF7D2ifWSoHHcLRd+J4OT5CBpVImdlqbuuaQKj6xbkA2DEwcggzsp3gQ=;
Good day.
Can't find out how to edit single attribute using chef api in ruby.
Someshing like:
chef_node = Chef::Node.load(fqdn)
chef_node.normal=(attr_name, new_value)
--
Thanks in advance.
Daniil.
- [chef] Edit attribute by chef API (ruby), Daniil S, 11/05/2013
Archive powered by MHonArc 2.6.16.