Yes puppet can probably help with all the above but maybe not in the way you expect :) Puppet is good at managing your system configurations and although it can, via the exec statement, do a lot more it's not always the best tool for the job. A few, hopefully relevant examples:
1) System updates - yes you could have puppet run you're update command directly but instead you're maybe better off using puppet to control the configuration of your updating system, a few examples that I use:
Use puppet to control the cron jobs required for system updates (puppet creates and manages the cron jobs, it _doesn't_ run the commands directly).
Use puppet to install, setup & control the yum-versionlock plugin, this plugin allows you to prevent updates of certain components.
Use puppet to install, setup & control yum-updatesd (the update notification daemon).
2) VM kernel modules
Use puppet to automatically install the open-vm-tools yum repository on any box that is a VM (easily deducible from facter), this repo has VMware kernel modules precompiled for rhel5.
Use puppet to control the aformentation yum-versionlock plugin to ensure that the kernel doesn't get updated when there isn't an appropriate vmware kernel module for the new version.
Alternatively, use puppet to ensure that all VM's have the necessary packages required to compile kernel modules.
I guess my main point is, make sure you use the right tool for the job - it may not be puppet but puppet can probably control the right tool quite nicely :)
hth.
-ross
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
Hello,
Reading the doc I could not find if Puppet could help running system
updates.
I would like to get started with several VMWare guests and few hosts,
all running CentOS. Some are 32bits, some 64bits. These are mostly
VMWare server installations; just starting ESXi with one system. They
are running different apps/configurations.
Of course there are few issues with:
1- VMWare tools that want to be sometimes recompiled on Linux. There
is a trick to avoid the recompilation:
http://vmetc.com/2008/08/31/automating-vmware-tools-installs-and-upgrades-in-linux-guests/
but maybe this could be taken care of with Puppet?
2- VMWare server on the host sometimes does not restart after a kernel
update. It also need to be recompiled. Of course the VM Guests are
down.
3- The host kernel updates might require reboot, shutting down guests.