]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/munin/templates/munin.conf-per-node.erb
More munin stuff, supporting munin-async if it is on the client
[dsa-puppet.git] / modules / munin / templates / munin.conf-per-node.erb
index e163d29f7ec2b72f262094c4684d802fc2acdb87..c7f39b625f8179bb1bbc26394bb03da3b8e224d0 100644 (file)
@@ -2,5 +2,9 @@
 ### THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
 ##
 
-[<%= fqdn %>]
-    address <%= ipaddress %>
+[<%= client_fqdn %>]
+<%- if has_variable?('client_munin_async') and client_munin_async and client_munin_async == "true" %>
+    address ssh://munin-async@<%= client_fqdn %>/set-in-authkeys
+<%- else %>
+    address <%= client_ipaddress %>
+<%- end %>