- From: "Mark H. Nichols" <
>
- To:
- Subject: [chef] Building directory path with directory resource
- Date: Wed, 26 Jun 2013 10:49:53 -0500
All -
I am trying to build a directory path by using attributes but it isn't working the way I expected.
Here are the relevant attributes:
default['jboss']['jboss_home'] = "/as/app/jboss" default['jboss']['version'] = "7.1.3" default['jboss']['jboss_user'] = "vagrant"
And here is my directory resource code:
directory "#{node['jboss']['jboss_home']}/#{node['jboss']['jboss_version']}" do owner node['jboss']['jboss_user']
What I want is to have this path created:
/as/app/jboss/7.1.3
What I am getting is
/as/app/jboss
How do I append multiple attributes together in the directory resource?
Thanks, Mark
|
- [chef] Building directory path with directory resource, Mark H. Nichols, 06/26/2013
Archive powered by MHonArc 2.6.16.