Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unattended_upgrades: Fix matching security archive #278

Merged
merged 1 commit into from Mar 27, 2014
Merged

unattended_upgrades: Fix matching security archive #278

merged 1 commit into from Mar 27, 2014

Conversation

daenney
Copy link

@daenney daenney commented Mar 27, 2014

The default configuration we were writing for Debian was only working
for Squeeze, from Wheezy and onwards this wasn't working anymore. This
has to do with the fact that we should now be using Origins-Pattern
according to the unattended-upgrades docs. However, Ubuntu didn't
entirely get with the program yet...

This change reflects the defaults that unattended-upgrade installs on
every platform we support. In order to do so the unattended-upgrades
Debian archive for Squeeze, Wheezy, Lucid, Precise and Trusty were
downloaded and the default /etc/apt/apt.conf.d/50unattended-upgrades
checked for its content with regard to using Allowed-Origins or
Origins-Pattern.

@daenney
Copy link
Author

daenney commented Mar 27, 2014

@hunner @apenney: This also needs to be cherry-picked to 1.4.x as that module is now generating broken configuration for Wheezy which is officially supported.

The default configuration we were writing for Debian was only working
for Squeeze, from Wheezy and onwards this wasn't working anymore. This
has to do with the fact that we should now be using Origins-Pattern
according to the unattended-upgrades docs. However, Ubuntu didn't
entirely get with the program yet...

This change reflects the defaults that unattended-upgrade installs on
every platform we support. In order to do so the unattended-upgrades
Debian archive for Squeeze, Wheezy, Lucid, Precise and Trusty were
downloaded and the default /etc/apt/apt.conf.d/50unattended-upgrades
checked for its content with regard to using Allow-Origins or
Origins-Pattern.

Fixes #277
apenney pushed a commit that referenced this pull request Mar 27, 2014
unattended_upgrades: Fix matching security archive
@apenney apenney merged commit b958fa2 into puppetlabs:master Mar 27, 2014
@daenney daenney deleted the fix-unattended-upgrades branch March 27, 2014 15:09
@LukasAud LukasAud added the bugfix label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants