- From: Mike <
>
- To: "
" <
>
- Subject: [chef] Re: Re: Re: Re: Re: Sync a directory from chef server to node
- Date: Tue, 9 Apr 2013 10:22:32 -0400
I would consider that empty directories should be handled with a
".keep" file or the like, or proper "directory" resources.
The file permissions are goverened by the files_owner, files_group,
files_mode variables to the resource.
"Original" file permissions are not really possible, since the files
are stored as objects on Chef Server, not "files with permissions" -
so telling Chef what the permissions _should be_ is the way to go.
Sorry if this doesn't work for you, hope the tarball approach works.
-M
On Tue, Apr 9, 2013 at 10:16 AM, jfotop
<
>
wrote:
>
>
Nope...as I previously mentioned:
>
I tried using remote_directory resource, but empty directories where not
>
created and also the file permissions where not as the original.
>
>
Thanks, though
Archive powered by MHonArc 2.6.16.