Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSet unattended-upgrades on Ubuntu hosts #276
Conversation
Not sure if this is the best way, but http://blog.viraptor.info/post/75262988169/ubuntu-unattended-upgrades-the-salt-way suggests it. Fixes #275
|
I don't think we actually need the |
|
We'll also need a |
|
Actually, I think we'll need to replace the
|
|
Do we want the machines to auto-reboot if necessary? I'm assuming not, but if so we'll need to do a little more to activate that feature. |
|
@aneeshusa I don't think that auto-rebooting would be a good idea right now. Latest commit implements the other 3 changes you suggested. |
|
Didn't see you had updated this, sorry. This is going to require some in Vagrant testing - I suspect the |
| @@ -6,10 +6,24 @@ python2: | |||
| - python | |||
| {% if grains['os'] == 'Ubuntu' %} | |||
| python2-dev: | |||
| ubuntu-packages: | |||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Mar 28, 2016
Member
I'd prefer to keep this state ID as just python2-dev, and add a new pkg.installed state under the unattended-upgrades ID to install the respective package. That lets us keep all of the unattended upgrades states together.
This comment has been minimized.
This comment has been minimized.
aneeshusa
Mar 28, 2016
Member
Also, the new pkg.installed state should require the debconf state for ordering purposes.
|
|
edunham commentedMar 24, 2016
Not sure if this is the best way, but http://blog.viraptor.info/post/75262988169/ubuntu-unattended-upgrades-the-salt-way suggests it.
Fixes #275
r? @aneeshusa
This change is