On Sep 20, 2010, at 8:01 PM, denmat wrote: > Hi List, > > I have two questions. > > Firstly I want to be able to ensure a default package is installed > across all hosts unless I specifically require them to be absent. > > To do this I have created a module(httpd) and class(php_mod) and > definition(php_mod_add) which I want to declare at the default node or > individual node level.
I believe you can do this by putting the "ensure => installed" resource in a parent and have the child override it. Then you include the child when you want to remove the package. Then include the parent in your global section. -- 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.