Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/144360
Change subject: diamond: Make ensure => absent work ...................................................................... diamond: Make ensure => absent work Otherwise collectors with ensure => absent set are not removed, and in fact are added if they aren't already present. Change-Id: I121cd2023cbd46dc0edc9a645f0428344763260b --- M modules/diamond/manifests/collector.pp 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/60/144360/1 diff --git a/modules/diamond/manifests/collector.pp b/modules/diamond/manifests/collector.pp index 868fdc4..11b1885 100644 --- a/modules/diamond/manifests/collector.pp +++ b/modules/diamond/manifests/collector.pp @@ -57,6 +57,7 @@ $collector = regsubst($name, '(Collector)?$', 'Collector') file { "/etc/diamond/collectors/${collector}.conf": + ensure => $ensure, content => template('diamond/collector.conf.erb'), require => File['/etc/diamond/collectors'], notify => Service['diamond'], -- To view, visit https://gerrit.wikimedia.org/r/144360 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I121cd2023cbd46dc0edc9a645f0428344763260b Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits