Hello there, I'm trying to replace our current sed and rsync configuration management solution and we are used to have static and dynamic configuration files in the same folder.
After creating a prototype with puppet I defined the static files as modules and the dynamic files as templates. What I could do to merge these two kind of files is to move the static files in the template folder, but what I would lose is the ability to declare two file sources for that file, e.g. file { "/etc/$name/catalina.policy": [...] source => [ "puppet:///$linie/$name/catalina.policy", "puppet:///default/catalina.policy" ] } so that puppet looks if there is a specific catalina.policy for that project and uses that or, if not, use a default one. Now to my actual questions: Are there any performance or other concerns using templates for static files? Is there a easier way to manage static and dynamic files in one folder? Can I define a template with two source files, so that it uses the general config file, if the specific one doesn't exist? So what I want is something like that: content => template("$linie/$name/catalina.policy", "default/ catalina.policy") -- 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.