Peter Meier wrote: > Hi > >>> yeah I also thought that. On the other side installing things (which >>> will install a bunch of dependecies) is also an unexpected result >>> somehow, as the dependencies aren't managed by puppet. For sure this >>> result isn't that worse as uninstall, but I don't think that this is >>> really an argument, however I agree that in this case we simply also not >>> care. But why do we care on uninstall? >> The basic issue is that puppet doesn't know about dependencies (not sure >> it should), but once you throw 'yum -y erase' into the mix, it becomes >> very easy to write inconsistent manifests, where a package erase removes >> a package that is explicitly mentioned by the manifest for install - >> sure the next puppet run will then install that package again, but in >> the meantime, you have a very broken system as the 'yum erase file' >> example shows. > > > yeah, which might be definitely worse than installing a package we'd > like to have uninstalled. On the other side it's an inconsistency we > can't solve using yum without declaring all yum dependencies within > puppet, which would lead us to simply use rpm... ;)
FWIW: the apt provider removes packages+deps. And yes, this already lead to problems. It is even worse if one doesn't control all "important" packages with puppet, since those might be removed without anybody noticing... Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---