move munin.conf_per_node.erb to the right place
authorPeter Palfrader <peter@palfrader.org>
Mon, 20 Mar 2017 15:39:12 +0000 (16:39 +0100)
committerPeter Palfrader <peter@palfrader.org>
Mon, 20 Mar 2017 15:39:12 +0000 (16:39 +0100)
modules/munin/munin.conf_per_node.erb [deleted file]
modules/munin/templates/munin.conf_per_node.erb [new file with mode: 0644]

diff --git a/modules/munin/munin.conf_per_node.erb b/modules/munin/munin.conf_per_node.erb
deleted file mode 100644 (file)
index 421d0dd..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-##
-### THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-##
-
-[<%= client_fqdn %>]
-<%
-# variables are different whether or not they go via the stored config thing.
-#  on the host that actually gets the config, client_munin_async is a String, saying "true",
-#  from other hosts it's an actual boolean, i.e. an instance of either FalseClass or TrueClass
-%>
-<%- if has_variable?('client_munin_async') and ((client_munin_async.kind_of?(String) and client_munin_async == "true") or (client_munin_async.kind_of?(TrueClass))) %>
-    address ssh://munin-async@<%= client_fqdn %>/set-in-authkeys
-<%- else %>
-    address <%= client_ipaddress %>
-<%- end %>
diff --git a/modules/munin/templates/munin.conf_per_node.erb b/modules/munin/templates/munin.conf_per_node.erb
new file mode 100644 (file)
index 0000000..421d0dd
--- /dev/null
@@ -0,0 +1,15 @@
+##
+### THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+##
+
+[<%= client_fqdn %>]
+<%
+# variables are different whether or not they go via the stored config thing.
+#  on the host that actually gets the config, client_munin_async is a String, saying "true",
+#  from other hosts it's an actual boolean, i.e. an instance of either FalseClass or TrueClass
+%>
+<%- if has_variable?('client_munin_async') and ((client_munin_async.kind_of?(String) and client_munin_async == "true") or (client_munin_async.kind_of?(TrueClass))) %>
+    address ssh://munin-async@<%= client_fqdn %>/set-in-authkeys
+<%- else %>
+    address <%= client_ipaddress %>
+<%- end %>