Hi,
I'm a newb to puppet but have a good deal of experience with
CFEngine.  We want to replace CFEngine in our environment because of
its monolithic nature.  As a proof of concept, I'd like to duplicate a
particular function we've always had trouble with in CFEngine -
installing HP PSP on our Redhat based ProLiant series servers.

The logic is relatively simple, but execution can get complicated due
to inconsistencies in Redhat package dependency handling:

1) Look for installation tool dependencies (gcc, rpm-build, kernel-
headers, etc.)
2) Install required tools that are missing
3) Run the HP PSP installation script with pre-packaged XML descriptor
file
4) (and this is the tricky part) Uninstall any tools installed in step
2.

In other words, the output of "rpm -q -a" before step 2 and after step
4 should look identical for the most part, save the actual HP packages
installed via the PSP install script.  DEV boxes should still have gcc
installed, but PROD boxes shouldn't.

I've got the "Pulling Strings with Puppet" book but I'm afraid it
doesn't go into as much depth as a I need for this.  I've looked at
some other recipes and the installation part is clear, but the removal
of packages that were not previously installed is a bit tricky and
haven't seen anything like that.

Anyone have some clues where I should be looking?  Anything with any
of those attributes out there that I can use to hobble together a
prototype proof of concept?  Thanks,

Mark

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to