Hello,

It seems that you're trying to use Puppet for actions (upgrading packages 
not managed by Puppet) instead of state. This is not what Puppet is for. 
You might want to setup unattended-upgrades with the proper Allowed-Origins 
and let the system upgrade the packages for you.


Cheers,

Raphaƫl


On Tuesday, February 24, 2015 at 4:28:32 PM UTC+1, 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!
>
> Cheers,
> Ximena.
>

-- 
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/ebbcf94b-079f-4ea3-9bb4-7f35b45672a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to