Hi all,

I think I must redo my question:

I must do a package clean before a yum updaet because of the package
itself:


"to update/install the CAs. Occasionally, in case the yum cache is not
updated properly one might need to perform manual cleaning with the command:"

not because yum as I said in previous mail (sorry for that).

I've created an exec that does the yum clean:


        exec { "yum clean all":
                before => Package["lcg-CA"],
                unless => "rpm -qa|grep lcg-CA-1.26-1",
                }

        exec { "yum -y groupinstall glite-WN":
                timeout   => "-1",
                unless    => "/bin/rpm -qa|/bin/grep glite-WN-version-3.1.10",
                logoutput => true,
                require  => Package["glite-TORQUE_client"],
                }

is posible to do same thing only with package type?

Cheers,
Arnau

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
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