From 6f62b1738344eed46d603e6a3859291cbdb2ce43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A4r=20Lindfors?= <paran@nsc.liu.se>
Date: Wed, 29 Mar 2017 11:55:20 +0200
Subject: [PATCH] tsmclient: Add default value undef for $serveraddress.

The parameter is documented as being optional. However to get the
default behaviour it had to be declared with the empty string as
value.

Signed-off-by: Thomas Bellman <bellman@nsc.liu.se>
---
 manifests/init.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manifests/init.pp b/manifests/init.pp
index 88b3aa8..2aeb660 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -158,7 +158,7 @@
  *    list.
  */
 
-define tsmclient($serveraddress, $nodename=$fqdn,
+define tsmclient($serveraddress=undef, $nodename=$fqdn,
 		 $optoptions=[], $sysoptions=[], $inclexcl=[])
 {
     include tsmclient::install
-- 
GitLab