Thanks John and others.
For my case, I definitely know I don't need "httpd" and any packages
(or updates) that depend on httpd, so  "ensure => purged" should work
for me, in this particular occasion.

However, I also tried this (I posted this before in this thread abut
can't see that anymore):

package {
        'httpd': notify => Exec[ 'remove-httpd' ];
    }

exec { 'remove-httpd':
        command     => '/usr/bin/yum remove -y httpd',
        refreshonly => true,
    }

but doesn't work either. What am I doing anything wrong here? Cheers!!

-- 
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.

Reply via email to