Dzahn has submitted this change and it was merged. Change subject: contint: restore unattended upgrade on slaves ......................................................................
contint: restore unattended upgrade on slaves Originally I tried to get it to run hourly, but that did not work. We also had a broken HHVM package (T98876). It has been disabled via https://gerrit.wikimedia.org/r/#/c/210391/ It is a huge trouble to upgrade the package on all the slaves. Restore unattended upgrade on Jenkins slaves with the default daily run. contint::packages::apt is applied on labs slave via contint::packages::labs. Bug: T98885 Change-Id: I0b30b75a8c22ddc32b9a43938a491ae639e0d562 --- M modules/contint/manifests/packages/apt.pp 1 file changed, 1 insertion(+), 14 deletions(-) Approvals: Hashar: Looks good to me, but someone else must approve jenkins-bot: Verified Dzahn: Looks good to me, approved diff --git a/modules/contint/manifests/packages/apt.pp b/modules/contint/manifests/packages/apt.pp index bd6fdca..9ed9630 100644 --- a/modules/contint/manifests/packages/apt.pp +++ b/modules/contint/manifests/packages/apt.pp @@ -3,27 +3,14 @@ # Apt configuration needed for contint hosts # class contint::packages::apt { - class { 'apt::unattendedupgrades': - ensure => absent, - } + include apt::unattendedupgrades apt::conf { 'unattended-upgrades-wikimedia': - ensure => absent, priority => '51', key => 'Unattended-Upgrade::Allowed-Origins', # lint:ignore:single_quote_string_with_variables value => 'Wikimedia:${distro_codename}-wikimedia', # lint:endignore } - apt::conf { 'lower-periodic-randomsleep': - ensure => absent, - priority => '51', - key => 'APT::Periodic::RandomSleep', - value => '300', - } - # Not meant to run hourly :/ - file { '/etc/cron.hourly/apt': - ensure => absent, - } } -- To view, visit https://gerrit.wikimedia.org/r/243925 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0b30b75a8c22ddc32b9a43938a491ae639e0d562 Gerrit-PatchSet: 3 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Hashar <[email protected]> Gerrit-Reviewer: Dzahn <[email protected]> Gerrit-Reviewer: Hashar <[email protected]> Gerrit-Reviewer: Muehlenhoff <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
