From b5cc9427aeca48689913b7462e58dd905c4a788b Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 3 Feb 2014 14:57:03 +0100 Subject: cleanup some of the missing parts --- manifests/register.pp | 14 +++++++------- templates/client.erb | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/manifests/register.pp b/manifests/register.pp index f0567d7..8c1ec61 100644 --- a/manifests/register.pp +++ b/manifests/register.pp @@ -1,12 +1,12 @@ # Register a munin client define munin::register ( - $host = $::fqdn, - $port = '4949', - $use_ssh = false, - $description = 'absent', - $config = [], - $export_tag = 'munin', - $group ='absent', + $host = $::fqdn, + $port = '4949', + $use_ssh = false, + $description = 'absent', + $config = [], + $export_tag = 'munin', + $group = 'absent', ) { $fhost = $name diff --git a/templates/client.erb b/templates/client.erb index 5741701..bc42452 100644 --- a/templates/client.erb +++ b/templates/client.erb @@ -1,12 +1,12 @@ <% - # Downcase all information - dom = scope.lookupvar('::domain').downcase - h = scope.lookupvar('::hostname').downcase + # Downcase all information + dom = scope.lookupvar('::domain').downcase + h = scope.lookupvar('::hostname').downcase %> ### Munin client from Puppet template -# Domain: <%= @dom %> -# Registered on: <%= @h %> +# Domain: <%= dom %> +# Registered on: <%= h %> # Type: <%= @client_type %> <% if @description != 'absent' -%> # Description: <%= @description.gsub(/\n/, ' ') %> -- cgit v1.2.3