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