From aaf55c9ebfa0e34f63b2ca3c2b660e1d164026dd Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Mon, 6 May 2013 18:13:12 +0200 Subject: lintify --- manifests/register.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/register.pp') diff --git a/manifests/register.pp b/manifests/register.pp index 309c322..1f6d787 100644 --- a/manifests/register.pp +++ b/manifests/register.pp @@ -1,3 +1,4 @@ +# Register a munin client define munin::register ( $host = $::fqdn, $port = '4949', @@ -12,7 +13,7 @@ define munin::register ( @@concat::fragment{ "munin_client_${fhost}_${port}": target => '/etc/munin/munin.conf', - content => template("munin/client.erb"), + content => template('munin/client.erb'), tag => $export_tag, } } -- cgit v1.2.3 From 695d81c81cd152b5dd7333d0eae2bd6df108a41e Mon Sep 17 00:00:00 2001 From: Arjen Heidinga Date: Fri, 31 Jan 2014 09:52:10 +0100 Subject: Add support for setting the descryption and group support --- manifests/register.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests/register.pp') diff --git a/manifests/register.pp b/manifests/register.pp index 1f6d787..f0567d7 100644 --- a/manifests/register.pp +++ b/manifests/register.pp @@ -5,7 +5,8 @@ define munin::register ( $use_ssh = false, $description = 'absent', $config = [], - $export_tag = 'munin' + $export_tag = 'munin', + $group ='absent', ) { $fhost = $name -- cgit v1.2.3 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 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'manifests/register.pp') 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 -- cgit v1.2.3