Bjørge Solli
2012-Mar-19 17:31 UTC
[Puppet Users] Unknown number of multiple templates -> File?
Hi! Currently working on a proposal for implementation and are wondering if anyone could help me solve this one specific situation: I have a dir that I need to put on my hosts, it changes over time and has some template files. Without the templates I would do something like this: file { "/path/to": source => "puppet://server/path/to", recurse => true, purge => true, } But what when I have an unknown bunch of erb-files in the mix? I was thinking about making my own ruby module to make it handle erb-files differently. Maybe folks here have a different idea on how to solve this, or even have similar modules I could modify to suite our needs? Also, when storing large (~10MB) files for this kind of stuff, should/could I set up a separate server to handle the large files? These are all in subversion so I could place them on as many servers as I like. All this will be done using Puppet Enterprise, but for now I''m "before PoC"-level and don''t (yet) have a support agreement (yet) with Puppetlabs. Thanks for making my life automated! Bjørge -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.