Nigel Kersten wrote:
> On Mon, Sep 28, 2009 at 7:50 AM, li...@truthisfreedom.org.uk
> <li...@truthisfreedom.org.uk> wrote:
>> Hi All,
>>
>> I get the feeling I'm being really dumb here but hey, if you don't ask... ;)
>>
>> I'm setting up a puppet install for about 80 or so servers and taking a
>> "softly softly" approach by starting with Syslog-ng and stunnel configs.
>>
>> I want to push out a directory of files to /etc/stunnel that includes
>> the config and pems for each client.  Is it posible to push an entire
>> directory, or do I have to specify each file (as I'm currently doing in
>> my dev environment!)?
> 
> http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
> 
> Have a look at the "recurse" attribute.

I knew it had to be possible!

So if I set the manifest as follows:

file{ "/path/to/dir":
        source=>"/path/to/source/dir"
        recurse=>true
        ...
}

then it should work?

Thanks,

M.

--~--~---------~--~----~------------~-------~--~----~
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 
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