Could you please post the resource definitions that caused this? I ask 
because the yum provider should not do this with

ensure => 'absent'

but will with

ensure => 'purged'

while with the rpm provider, if you're forcing it for some reason, you 
could probably pass

uninstall_option => '--nodeps'


On Monday, December 1, 2014 2:11:31 PM UTC-8, Clay Stuckey wrote:
>
> I wrote two manifests for RHEL systems. One removed syslog. The other 
> installed rsyslog. The syslog removal followed a tragic dependency tree 
> removing RPMs such as coreutils, rpm, yum and pam. Once the servers 
> rebooted, they were left in an unusable state. I had to boot in rescue 
> mode, manually install files to get RPM going and reinstall about 300 RPMs 
> that were removed.
>
> Is there some way to blacklist the removal of certain critical RPMs that 
> might be found in a dependency tree?
>

-- 
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/6a65be92-3410-4fd2-9d7a-d3191c320de7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to