- From: <
>
- To:
- Subject: [chef] Executing ldconfig in chef
- Date: Mon, 4 Feb 2013 06:49:04 -0800 (PST)
**Newbie alert**
Code snippets are from default.rb
Hi, I'm adding a file to ld.so.conf.d:
file ::File.join("/etc/ld.so.conf.d", "my.conf") do
mode "0444"
content ::File.join(node["folders"]["home"],"lib")
notifies :run, "bash[ldconfig]"
end
bash "ldconfig" do
code <<-EOS
ldconfig
EOS
end
The ldconfig doesn't get called (at least not after the file creation).
I tried running a "command" and also "bash" as posted.
Appreciate any help.
- [chef] Executing ldconfig in chef, chook.harel, 02/04/2013
Archive powered by MHonArc 2.6.16.