puppetlabs/puppet — pull request #829 by dalen (2012-05-31 16:17:43+00:00)
Title: Makes the apt provider not uninstall conflicting packages automatically during package install.

As puppet installs packages one by one you get into a bad situation if
you try ensure => installed on two conflicting packages. With this patch
that would cause an error on the second package install instead of
silently removing the first.

Tested using this on a debian system:
puppet apply --execute "package { ['sudo','sudo-ldap']: ensure => installed }"

Without this patch that alternates between installing those two packages, and consequently uninstalling the other silently.