Hi LenR,
You do not required to uninstalled the package if you want to upgrade
it.
Puppet package resource automatically upgrade/install the* latest version
package* present in the yum repos, if you specify ensure => 'latest'.
You can also specify the package version along with name and make ensure =>
present.
Thanks and Regards,
Rahul Khengare,
NTT DATA OSS Center, Pune, India.
On Wednesday, September 25, 2013 9:00:54 AM UTC+5:30, LenR wrote:
>
> I need to upgrade a package, but it's later versions are packaged
> differently, can I do something like
>
> package { "zabbix-agent.1.8.15":
> ensure => absent
> }
>
> some repo ensured present...
>
> package {"zabbix-agent, zabbix-sender, zabbix-get":
> ensure => latest
> }
>
> The problem is that a prior repo had all 3 replacement components in the
> same rpm, so I can't just upgrade from 1.8 era to 2.x. I would add
> ordering to this also.
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.