Try looking into the recurse => true parameter.

--
Nathan Clemons
http://www.livemocha.com
The worlds largest online language learning community



On Mon, May 23, 2011 at 3:05 AM, Sumith Sudhakaran <[email protected]>wrote:

> HI
>
> How can i copy a directory from puppet master to client
>
> I have tried this, but its giving error. I am using redhat 5.6 and puppet
> 2.6.8
>
> file { "/usr":
> ensure => "directory",
> owner => "root",
> group => "root",
> mode => 777,
> content => template("/usr/local/sbin/),
>
> Please help me..
> --
> *  Regards***
>
> * Sumith** *
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

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

Reply via email to