Ema has submitted this change and it was merged.

Change subject: Don't install apt-show-versions
......................................................................


Don't install apt-show-versions

apt-show-versions is responsible for frequent cronspam and does not seem
to be in use.

Bug: T132324
Change-Id: I72f424c34ce8dcfee538edb28bc19c769922fbeb
---
D modules/apt/files/apt-show-versions.crondaily
M modules/apt/manifests/init.pp
2 files changed, 0 insertions(+), 20 deletions(-)

Approvals:
  Ema: Verified; Looks good to me, approved



diff --git a/modules/apt/files/apt-show-versions.crondaily 
b/modules/apt/files/apt-show-versions.crondaily
deleted file mode 100644
index cecf185..0000000
--- a/modules/apt/files/apt-show-versions.crondaily
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-#
-# Note: This file is managed by Puppet
-
-[ -f /usr/bin/apt-show-versions ] || exit 0
-
-apt-show-versions -i > /dev/null 2>&1
diff --git a/modules/apt/manifests/init.pp b/modules/apt/manifests/init.pp
index 36a6130..3c8e49d 100644
--- a/modules/apt/manifests/init.pp
+++ b/modules/apt/manifests/init.pp
@@ -18,19 +18,6 @@
         purge   => true,
     }
 
-    package { 'apt-show-versions':
-        ensure => installed,
-    }
-
-    file { '/etc/cron.daily/apt-show-versions':
-        ensure  => present,
-        owner   => 'root',
-        group   => 'root',
-        mode    => '0755',
-        source  => 'puppet:///modules/apt/apt-show-versions.crondaily',
-        require => Package['apt-show-versions'],
-    }
-
     package { 'python-apt':
         ensure => installed,
     }

-- 
To view, visit https://gerrit.wikimedia.org/r/292936
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I72f424c34ce8dcfee538edb28bc19c769922fbeb
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>
Gerrit-Reviewer: Elukey <ltosc...@wikimedia.org>
Gerrit-Reviewer: Ema <e...@wikimedia.org>
Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to