teaching myself puppet.
Using Ubuntu 11.10 Puppet 2.7.1 (straight from apt)
Running some test scripts on a single node (following http://docs.puppetlabs.com/learning/manifests.html).
I made a manifest that installs and starts the apache2 package ... all good.
Now I want to reverse this, I make a manifest that purges the apache2 package. This completes successfully, the problem is that puppet has only remove the apache2 package, not all the packages apache2 brings in with it (I think apache2.2-bin is the main one) ... so the apache2 service is still installed and running on the system.
If I was doing this with apt-get I would then just do a "apt-get autoremove" but how can I make puppet do this for me?