- From: <
>
- To:
- Subject: [chef] remote_file error
- Date: Tue, 2 Feb 2010 12:32:15 -0800 (PST)
Hi,
I am not able to create files in directories other than '/tmp' using a chef
recipe.
I have used the following code and it fails:
--------
template "/etc/qs/deep_thought.txt" do
source "deep_thought.txt.erb"
variables :deep_thought => node[:deep_thought]
action :create
end
--------
Running 'mysql' recipe (mysql cookbook from opscode site) on the client also
displays a similar error as the file '/etc/mysql/grants.sql' is not created.
I even tried setting the permissions of folder '/etc' to '777' but it still
failed to create the file.
Please let me know what needs to be done to resolve this issue.
Thanks
RBF
- [chef] remote_file error, rijufrancis, 02/02/2010
Archive powered by MHonArc 2.6.16.