Using Puppet...
I had a situation with NTP whereby I wanted to install ntpd if NTP was not installed, but only if neither openntp nor ntpd were installed. (I solved this by using the Alexandrian Solution: I got rid of openntp...)
This goes beyond ensure => absent
and ensure => present
; how would you go about setting this up? What about the dependencies?
Thinking about this, it would mean that NTPd is only installed if OpenNTP is missing. But then this does not mean that (in context) that OpenNTPd must be missing... Would the audit
option be appropriate here?