Hi,

   I think someone said a workaround in this group that consisted in
setting the arch. You can try with:

package { 'openssh-server.x86_64':

  ensure => 'absent',

}

Hth,

El 16/05/2014 09:54, "Paul Seymour" <[email protected]> escribió:

> Hello,
>
> Working through some issues with upgrading our environment from 2.x to 3.5
> (now I should probably target 3.6 !) anyway we have a module which
> does basically.
>
> package { 'openssh-server':
>   ensure => 'absent',
> }
>
> package { '3rd-party-ssh':
>   ensure => 'installed'
> }
>
> This 3rd party SSH package has a "provides" of openssh-server on it. As
> such if you issue a "yum remove openssh-server" manually it will try and
> remove
> the 3rd party version. Which is the standard YUM behaviour I believe.
>
> So therefore on the 3.x servers the package is being removed/installed
> every time and as there is no dependencies here it can leave us without an
> SSH
> server running.
>
> Which I guess is probably what we are actually telling it to do. But this
> never happens in the 2.x series.
>
> Any ideas on why, and how we can stop this behaviour ?
>
> Thanks
> Paul
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/daba08fe-85bc-426d-90ee-a01d3bd91ec8%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/daba08fe-85bc-426d-90ee-a01d3bd91ec8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAF_B3dfAsGTgfmFyQKthaaNcK4nawOsme98YU3WqvpxG%2BN-B%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to