Ask Your Question

How to install all upgrades (not just security) with puppet's unattended-upgrades module

asked 2016-10-05 18:25:55 -0600

tylerecouture gravatar image

I 'm using puppet to configure a classroom of desktops running Ubuntu 16.04, and I'm using the puppet unattended-upgrades module.

However, I can't tell from the docs (I'm a Linux noob) how to use this to automatically upgrade all packages, not just security.

In the overview of the module it says:

The unattended_upgrades module allows for the installation and configuration of automatic security (and other) updates through apt.

The "(and other)" seems to indicate it should be able to do this. How can I use this module to upgrade all installed packages, and not just security updates?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-10-06 05:01:53 -0600

C.P.A.vanrun gravatar image


Try to look at the origins parameters:

origins: The repositories from which to automatically upgrade included packages..

Which is an array and stipulates which repositories to install from. By default the parameters default to something along the lines of: '${distroid}:${distrocodename}-security'. Which would be the security repos for your release.

You'd likely want to provide an array with the repositories you can find in /etc/apt/sources.list.

Good luck!

edit flag offensive delete link more


Could you give me an example? origins => { ? } What do I put for ? do I put `origins => ${distroid}:${distrocodename}-updates` ?

tylerecouture gravatar imagetylerecouture ( 2017-01-17 15:56:07 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-10-05 18:25:55 -0600

Seen: 244 times

Last updated: Oct 05 '16