Hi all, For some definition-based and custom resources, I'm looking for a way to tell systems: "only these should be present, the rest should be purged".
2 examples I can come up with are databases and webserver vhosts. Say I have configured a node to have 3 databases (a, b and c). Now I decide I don't want c anymore. I end up putting ensure => absent for c. After a run, I can remove c alltogether. This feels like a odd thing to do. Ofcourse leaving c in (with absent) does no harm, but it will clutter the configs after some time. I would like to somehow configure some resource-types to remove/purge everything that does not get mentioned in the config. Then I can just take stuff out of configs if I don't want it anymore. Has anyone found a solution for this? Thanks, Mathijs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.