Muehlenhoff has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/330402 )

Change subject: Purge ntp package when using systemd-timesyncd
......................................................................

Purge ntp package when using systemd-timesyncd

Only removing the package with "absent" leaves various conffiles around,
which is irritating and will lead to cron spam:

jmm@multatuli:~$ dpkg -l ntp
(..)
rc  ntp                                  1:4.2.6.p5+dfsg-7+deb8u amd64          
         Network Time Protocol daemon and utility programs

jmm@multatuli:~$ dpkg -L ntp
/etc
/etc/dhcp
/etc/dhcp/dhclient-exit-hooks.d
/etc/dhcp/dhclient-exit-hooks.d/ntp
/etc/ntp.conf
/etc/cron.daily
/etc/cron.daily/ntp
/etc/init.d
/etc/init.d/ntp
/etc/default
/etc/default/ntp
/var
/var/lib
/var/lib/ntp

Change-Id: I73a7fa31159238ae3488ce0632ee99bd5f7ada01
---
M modules/standard/manifests/ntp/timesyncd.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/02/330402/1

diff --git a/modules/standard/manifests/ntp/timesyncd.pp 
b/modules/standard/manifests/ntp/timesyncd.pp
index 9d20ff1..9bf4a6b 100644
--- a/modules/standard/manifests/ntp/timesyncd.pp
+++ b/modules/standard/manifests/ntp/timesyncd.pp
@@ -6,7 +6,7 @@
     require standard::ntp
 
     package { 'ntp':
-        ensure => absent,
+        ensure => purged,
     }
 
     $wmf_peers = $::standard::ntp::wmf_peers

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I73a7fa31159238ae3488ce0632ee99bd5f7ada01
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to