- From: <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: resource for copy local file?
- Date: Tue, 13 Sep 2011 00:00:44 -0700 (PDT)
Finally I get it works. Many thanks for all your help!
The reason is I run chef with a normal user account in chef-solo mode.
chef-solo needs to access /var/chef/backup and /var/chef/cache folders. But
chef-solo has no permission to open those folders under non-root account.
What I do is mkdir /var/chef/backup and /var/chef/cache with non-root
account, then I can successfully copy local files with File Copy provider.
It will be more convenient if chef has build-in support for local file copy
function.
- [chef] Re: Re: Re: Re: Re: Re: Re: resource for copy local file?, zkfhu, 09/13/2011
Archive powered by MHonArc 2.6.16.