----- Original Message -----
> From: "Guillem Liarte" <guillem.lia...@googlemail.com>
> To: puppet-users@googlegroups.com
> Sent: Thursday, January 10, 2013 2:59:40 PM
> Subject: Re: [Puppet Users] mcollective package plugin rpm versions
> 
> Mr. Pienaar,
> 
> 
> I have tested the following:
> 
> Changes in the MC server, package.rb:
> 
>           pkg = ::Puppet::Type.type(:package).new(:name => package, :ensure
> => "20060214-1.7").provider
>           #pkg = ::Puppet::Type.type(:package).new(:name =>
> package).provider
> 
> 
> MC client output
> 
> [root@ttraflonrh364 application]# mco package status ksh -W
> "hostname=ttraflocorh170"
> 
>  * [ ============================================================> ] 1 / 1
> 
> ttraflocorh170.global.trafigura.com      version = ksh-20100621-5.el5
> 
> ---- package agent summary ----
>  Nodes: 1 / 1
>  Versions: 1 * 20100621-5.el5
>  Elapsed Time: 0.53 s
> 
> [root@ttraflonrh364 application]# mco package uninstall ksh -W
> "hostname=ttraflocorh170"
> 
>  * [ ============================================================> ] 1 / 1
> 
> ttraflocorh170.global.trafigura.com      version = absent
> 
> ---- package agent summary ----
>  Nodes: 1 / 1
>  Versions: 1 * absent
>  Elapsed Time: 6.23 s
> 
> [root@ttraflonrh364 application]# mco package status ksh -W
> "hostname=ttraflocorh170"
> 
>  * [ ============================================================> ] 1 / 1
> 
> ttraflocorh170.global.trafigura.com      version = absent
> 
> ---- package agent summary ----
>  Nodes: 1 / 1
>  Versions: 1 * absent
>  Elapsed Time: 0.12 s
> 
> [root@ttraflonrh364 application]# mco package install ksh -W
> "hostname=ttraflocorh170"
> 
>  * [ ============================================================> ] 1 / 1
> 
> ttraflocorh170.global.trafigura.com      version = ksh-20060214-1.7
> 
> ---- package agent summary ----
>  Nodes: 1 / 1
>  Versions: 1 * 20060214-1.7
>  Elapsed Time: 11.25 s
> 
> The version seems to change effectively. So yes, it does seem to work as
> you said.

That's encouraging, means we could no doubt make a plan then!

> Do you want em to open a new post in mcollective group?

That would be great

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