I just want to upgrade specific Packages.

The idea is something like : ensure=>latest, onlyif=>present

Cheers,
Ximena.

On Tuesday, 24 February 2015 16:43:06 UTC+1, David Schmitt wrote:
>
> On 2015-02-24 16:28, Ximena Cardinali wrote: 
> > Hello There, 
> > 
> > I'm trying to write a module to update certain vulnerable packages in 
> > Debian Systems. 
> > My idea is to update them only and only if they are *installed*. Is 
> > there any exec command or any other tricks that you may know to do that? 
> > 
> > So far, I've got the basics: :$ 
> > 
> >          package { '$package_update': 
> >                  name            => $package_update, 
> >                  ensure          => latest, 
> >          } 
> > 
> > Can anyone throw me an idea? I will really appreciate it! 
>
> What about "aptitude full-upgrade"? 
>
> Regards, David 
>
> -- 
> * Always looking for people I can help with awesome projects * 
> Twitter: @dev_el_ops G+: https://plus.google.com/+DavidSchmitt 
> Blog: http://club.black.co.at/log/ 
> LinkedIn: http://at.linkedin.com/in/davidschmitt 
>

-- 
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/72682c9d-5194-4cf9-9b65-729eebd77645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to