I just installed java using chef cookbook and updated PATH environment variable for all users (added new file to /etc/profile.d/).
Is it possible to tell chef to rel
execute "run_updated_bash" do command "bash /etc/profile.d/myscript.sh" end
Have you tried something like this? It could be run after you place your file in /etc/profile.d/