Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: conftool::scripts::service: port 80 is the default
......................................................................

conftool::scripts::service: port 80 is the default

Change-Id: I8b6b2f92ed9561196aeff3286b47ff036bcf26ce
---
M modules/conftool/manifests/scripts/service.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/51/315951/1

diff --git a/modules/conftool/manifests/scripts/service.pp 
b/modules/conftool/manifests/scripts/service.pp
index 3e741fa..7a5a46e 100644
--- a/modules/conftool/manifests/scripts/service.pp
+++ b/modules/conftool/manifests/scripts/service.pp
@@ -19,7 +19,7 @@
     $lvs_config = $lvs_services_config[$lvs_name]
 
     $service = $lvs_config['conftool']['service']
-    $port = $lvs_config['port']
+    $port = pick($lvs_config['port'], 80)
     $hostnames = $lvs_class_hosts[$lvs_config['class']]
     $lvs_ips = inline_template(
         "<%= @hostnames.map{|h| scope.function_ipresolve([h])}.join(',') %>")

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b6b2f92ed9561196aeff3286b47ff036bcf26ce
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to