we should set tail to undef by default, so the module can be used without needing...
authormh <mh@immerda.ch>
Fri, 31 Jul 2015 03:28:42 +0000 (05:28 +0200)
committermh <mh@immerda.ch>
Fri, 31 Jul 2015 03:28:42 +0000 (05:28 +0200)
manifests/init.pp

index c682bfa..b7f8c47 100644 (file)
 #
 
 class resolvconf(
-  $domain = $::domain,
-  $search = $::domain,
+  $domain      = $::domain,
+  $search      = $::domain,
   $nameservers = [ '8.8.8.8' ],
-  $tail,
+  $tail        = undef,
 ) {
   $content = $::operatingsystem ? {
     openbsd => template("resolvconf/resolvconf.${::operatingsystem}.erb"),