Good day.
We have a problem. We are trying to copy a file from one folder to
another, using "cookbook_file" using the attribute "path". Example code:
cookbook_file "/opt/server.tgz" do
path "/mnt/server/"
source "server.tgz"
end
But the chef throws an error:
FATAL: Chef:: Exceptions:: FileNotFound: cookbook_file [/opt/
server.tgz] (copy_file_rep:: default line 9) had an error: cookbook
copy_file_rep does not contain file files/server.tgz
How can we use the attribute "path"?
Thank you!
--
Best Regards,
Ilya
Archive powered by MHonArc 2.6.16.