Hi,
Could you post the bash resource that is causing this problem?
On 6/5/13 5:25 AM, Yonah Russ wrote:
> When a recipe tries to use one of the role attributes inside the code, I
> get an error:
> /tmp/chef-script20130605-45783-1h9fd78: line 6:
> Chef::Node::Attribute:0x0000000628e1b8: No such file or directory
Errors such as this is one of the reasons that Dan reworked much of the
>
> Is this a known issue?
> Am I doing something wrong?
attribute code for Chef 11 [0]. The typical solution is to coerce the
attribute into a well-known type using #to_s, #to_hash, or similar
methods which are easier to use elsewhere.
Cheers,
Steven
--
Steven Danna
Systems Engineer, Opscode, Inc
GPG Key: http://stevendanna.github.com/downloads/code/public.key
[0]
http://www.opscode.com/blog/2013/02/05/chef-11-in-depth-attributes-changes/
Archive powered by MHonArc 2.6.16.