0

I'm trying to copy a file that's included with a cookbook. This doesn't seem to be working:

cookbook_file node[:confluence][:mysql_jar] do
    path "#{node[:confluence][:install_path]}/confluence/WEB-INF/lib/"
    action :create_if_missing
end

I've checked the paths and they all have write permissions.. Also the included file has been placed under...

Cookbook_name --> files --> default --> mysql.jar

Tim Nuwin
  • 2,775
  • 2
  • 29
  • 63
  • What is the value of `node.confluence.mysql_jar`? – sethvargo Feb 27 '14 at 16:50
  • Is this snippet of code's recipe, and file you're referencing in the same cookbook. If not, how are you invoking Chef? Chef-solo? Vagrant? How did you include the cookbook? Using metadata, or "include_recipe"? – Konzulic Feb 28 '14 at 11:27

0 Answers0