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

This commit is contained in:
Alex Vandiver 2022-11-01 15:10:38 -04:00 committed by Tim Abbott
parent 42f84a8cc7
commit 521ec5885b
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
i = 0 i = 0
@hosts.each do |host| @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 %> 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) priority=200 ; the relative start priority (default 999)
autostart=true ; start at supervisord start (default: true) autostart=true ; start at supervisord start (default: true)