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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/54EC9BF2.4090703%40dasz.at.
For more options, visit https://groups.google.com/d/optout.

Reply via email to