Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Rename autossh tunnel, as it is no longer for just munin.

Alex Vandiver521ec5885b52
diff --git a/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb b/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb
index acecacf4ed7..444c40b0230 100644
--- a/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb
+++ b/puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb
@@ -4,7 +4,7 @@
i = 0
@hosts.each do |host|
-%>
-[program:munin-tunnel-<%= host %>]
+[program:autossh-tunnel-<%= host %>]
command=autossh -N -M <%= 20000 + 2 * i %> -L <%= 5000 + i %>:localhost:4949 -o ControlMaster=yes nagios@<%= host %><% unless host.include?(".") %>.<%= @default_host_domain %><% end %>
priority=200 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true)