The FileServingConfiguration doesn''t even mention
directories. And the reference page doesn''t give an example.
Really, all I want is to fileserve a directory, but with
everything in it retaining its attributes.
When I do this:
file {
"/var/www/html":
ensure => directory,
recurse => true,
owner => "apache",
group => "apache",
mode => "0755",
source => "puppet://192.168.0.171/dist/var/www/html";
}
There are two problems:
1) It doesn''t retain symbolic links. It simply follows the
links to the original file, then fileserves that. I know I
can use the "file" type along with link & target to properly
do symlinks, but ideally, if I''m already serving out the
parent directory, I''d like the symlinks contained therein to
be left intact without having to do another "file" for each
one of them.
2) All the files underneath get owner/group "apache" and
mode 755. I''d like them to stay as they are. If I remove
"recurse", it doesn''t seem to fileserve any files at all,
just the directory (empty).
Sorry if this has been well-covered, I searched the docs and
the archives and couldn''t really find much about it.
johnny