[chef] Re: Re: Re: Building directory path with directory resource


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: Re: Re: Building directory path with directory resource
  • Date: Wed, 26 Jun 2013 09:36:15 -0700

With dynamic languages these are very common.
Use pry and drop a binding.pry inside the recipe , this will help you inspect individual attribute values and other stuff. You can do this with chef shell -z also :-)

On Jun 26, 2013 9:26 AM, "Mark H. Nichols" < "> > wrote:

On Jun 26, 2013, at 10:55 AM, Mike < "> > wrote:

> Here's the issue:
>
> Your line:
>
> directory "#{node['jboss']['jboss_home']}/#{node['jboss']['jboss_version']}" do
>
> The line you probably want:
>
> directory "#{node['jboss']['jboss_home']}/#{node['jboss']['version']}" do

D'oh. *hangs head in shame* I've looked at this for a day now and never once saw that I had the wrong attribute name. Thanks for the catch.

Mark



Archive powered by MHonArc 2.6.16.

§