Ask Your Question
0

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

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

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
0

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

C.P.A.vanrun gravatar image

Hej,

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

Comments

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 -0500 )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

Stats

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

Seen: 69 times

Last updated: Oct 05 '16