<% # Downcase all information dom = scope.lookupvar('::domain').downcase h = scope.lookupvar('::hostname').downcase %> ### Munin client from Puppet template # Domain: <%= dom %> # Registered on: <%= h %> # Type: <%= client_type %> <% if description != 'absent' -%> # Description: <%= description.gsub!(/\n/, ' ') %> <% end -%> [<%= fhost.downcase %>] address <%= host %> port <%= port %> <% if config -%><% config.each do |val| -%> <%= val -%> <% end -%><% end -%>