Hello,

> I've got a nice little VirtualBox test VLAN with a puppetmaster and 3
> nodes, and I use it for trying out new classes before they go to the
> real puppetmaster for testing.
> 
> After a few months of playing around, my poor little puppets are
> running all sorts of rubbish; NFS, networked syslog, mysql, apache,
> etc. This is entirely my fault, because I just 'unapply' my modules
> from the nodes.
> 
> What's the 'best' way to 'deapply', or clear out a resource/class in
> Puppet? Do people generally just edit your manifests along the lines
> of change 'ensure => present' to 'ensure => absent'?
> 
> Re-Kickstarting is always an option, I suppose ... :)

On my test/sandbox machines, I usually setup a single root partition on
an LVM volume, then patch /sbin/mkinitrd to make it create an LVM
snapshot and mount it instead of the "original" root partition. This
way, I just have to reboot the system to "reset" it's state to what it
was just after the installation.

I believe virtualbox has a disk snapshot functionality, which doesn't
require tinkering with mkinitrd.

Marc



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to