Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316812

Change subject: restart-service: use service, not title
......................................................................

restart-service: use service, not title

Change-Id: Ic087c9d6eaf1d49ab919deb565abdc67051772b8
---
M modules/conftool/templates/restart-service.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/316812/1

diff --git a/modules/conftool/templates/restart-service.erb 
b/modules/conftool/templates/restart-service.erb
index 2d9b122..b5335f0 100755
--- a/modules/conftool/templates/restart-service.erb
+++ b/modules/conftool/templates/restart-service.erb
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 # Check the pooling status first
-POOLING_STATUS=$(confctl select 'name=<%= @fqdn %>,service=<%= @title %>' get 
| jq '.["<%= @fqdn %>"].pooled')
+POOLING_STATUS=$(confctl select 'name=<%= @fqdn %>,service=<%= @service %>' 
get | jq '.["<%= @fqdn %>"].pooled')
 
 if [ $POOLING_STATUS == '"yes"' ]; then
     DO_POOL=1

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

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

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

Reply via email to