- From: <
>
- To: "chef list" <
>
- Subject: [chef] template question
- Date: Mon, 05 Dec 2011 12:05:08 -0700
I have a template
template "/etc/djo.dat" do
source "djo.dat.erb"
mode 0644
owner "root"
group "root"
variables({
:domain => node[:domain],
:pete => "jimmy"
})
end
I want pete = to different fixed values based on node[:domain]
what is the best way to do this?
- [chef] template question, djo, 12/05/2011
Archive powered by MHonArc 2.6.16.