Ottomata has uploaded a new change for review. https://gerrit.wikimedia.org/r/125742
Change subject: Adding ensure parameter to varnish::logging ...................................................................... Adding ensure parameter to varnish::logging This will allow us to ensure that a varnishncsa service is stopped via puppet. I plan to use this to disable the emery varnishncsa instance and start up a new one for erbium. See RT 6143 Change-Id: If4ccd314a3b8d42b4c74fbcf2e0129dfa07eabc4 --- M modules/varnish/manifests/logging.pp 1 file changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/42/125742/1 diff --git a/modules/varnish/manifests/logging.pp b/modules/varnish/manifests/logging.pp index 3e31cd9..df61925 100644 --- a/modules/varnish/manifests/logging.pp +++ b/modules/varnish/manifests/logging.pp @@ -4,7 +4,8 @@ $cli_args='', $log_fmt=false, $instance_name='frontend', - $monitor=true + $monitor=true, + $ensure='running', ) { require varnish::packages require varnish::logging::config @@ -32,7 +33,7 @@ } service { "varnishncsa-${name}": - ensure => running, + ensure => $ensure, require => [ File["/etc/init.d/varnishncsa-${name}"], Service[$varnishservice] -- To view, visit https://gerrit.wikimedia.org/r/125742 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If4ccd314a3b8d42b4c74fbcf2e0129dfa07eabc4 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ottomata <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits