- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: Using node attributes in resource definitions
- Date: Mon, 26 Nov 2012 13:01:52 -0500
Put that resource in one of the application callbacks :)
--Noah
On Nov 26, 2012, at 1:00 PM, Daniel Condomitti wrote:
>
We use an application provider that defines and creates all of our
>
applications' directories and such which are then saved on the node. If we
>
try and use these attributes in a recipe prior to the node converging at
>
least once, we get an undefined method error when trying to do anything
>
like the following:
>
>
application 'appname' do
>
…
>
end
>
>
mount node[:applications][:appname][:releasepath] do
>
...
>
end
>
>
Is there a way to defer evaluation of the mount path or any other resource?
Archive powered by MHonArc 2.6.16.