Hi

> how may I do something like:
> 
> 
>   file { "/usr/local/sbin/*":
>                 ensure => file,
>                 owner  => "root",
>                 group  => "root",
>                 mode   => "700",
>                 source => 
> "puppet://gridinstall01.pic.es/files/usr/local/sbin/",
>                 }
> 
> Cause it creates a wildcard:
> 
> #ls /usr/local/sbin/\*/
> 
> Do I have to manage file by file? Is there any possibility os copying
> recursively? 
> 


no, just remove the wildcard from your file definition, as well the the
 "ensure => file". You want to manage the directory, if you want to
manage every file in this directory.

greets pete

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
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