**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.
Archive powered by MHonArc 2.6.16.