Giuseppe Lavagetto has submitted this change and it was merged.

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(-)

Approvals:
  Giuseppe Lavagetto: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: Ic087c9d6eaf1d49ab919deb565abdc67051772b8
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>

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

Reply via email to