Thanks John and Louis. That's what I was thinking as well. I went in a slightly different direction - I check whether a package is installed and then execute the package and file bits if not
Alex On Saturday, February 1, 2014 8:23:25 AM UTC, Louis Coilliot wrote: > > Hello, > > for a an individual config file you can : > > 1° delete the file unless there is a special tag line in it > 2° then ensure the file with replace = false > > Example here : > > https://github.com/lofic/puppet-jboss7/blob/master/templates/domain.xml.jboss-as-7.1.1#L35 > > https://github.com/lofic/puppet-jboss7/blob/master/manifests/init.pp#L99-L104 > > https://github.com/lofic/puppet-jboss7/blob/master/manifests/domain.pp#L47-L56 > > Louis > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/56b23cf2-7752-44d2-9bb7-76a169f3c8cf%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.