Mark Bergsma has uploaded a new change for review. https://gerrit.wikimedia.org/r/79064
Change subject: Add the port number to the PyBal service name ...................................................................... Add the port number to the PyBal service name This avoids conflicts for multiple services on the same IP Change-Id: I36c210195cae22a7a1b45e76fadd5f28428b14a7 --- M modules/pybal/templates/pybal.conf.erb 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/64/79064/1 diff --git a/modules/pybal/templates/pybal.conf.erb b/modules/pybal/templates/pybal.conf.erb index 3847eb1..ad85fdc 100644 --- a/modules/pybal/templates/pybal.conf.erb +++ b/modules/pybal/templates/pybal.conf.erb @@ -23,7 +23,7 @@ # Class: <%= service['class'] %> # Description: <%= service['description'] %> # LVS balancers: <%= lvs_class_hosts[service['class']].join(" ") %> -[<%= subservicename %>] +[<%= subservicename %>_<%= service.fetch('port', 80) %>] protocol = <%= service.fetch('protocol', "tcp") %> ip = <%= subserviceip %> port = <%= service.fetch('port', 80) %> -- To view, visit https://gerrit.wikimedia.org/r/79064 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I36c210195cae22a7a1b45e76fadd5f28428b14a7 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Mark Bergsma <m...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits