To save you some hassle in the future, I recommend not defining new
fileserver mount points and instead use a module to distribute the
files.

Puppet master automatically exposes the files directory of a module
via the fileserver.  More information is available at
http://docs.puppetlabs.com in the module organization guide.

-Jeff

On Thursday, October 14, 2010, Kikanny <kika...@gmail.com> wrote:
> I'm pretty sure this is simple, but I just can't get it to work. I
> have a directory called test (in location /home/server/test) and it
> has sub directories and other files. I want to copy this directory and
> all its contents into a location on the client machine. I'm not sure
> what I'm doing wrong. This is what I have right now.
>
> file { "/home/client/test":
>      ensure  => directory,
>      owner   => root,
>      group    => root,
>      mode    => 644,
>      source  => "puppet:///abc/test",
>      recurse => true,
> }
>
> In the fileserver.conf, I have the following:
>
> [abc]
>      path /home/server
>      allow *
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
Jeff McCune
http://www.puppetlabs.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to