From c5ea2142eece3ba671eba545dda0d6592e3ccf5c Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Fri, 8 Nov 2013 15:23:21 -0500 Subject: [PATCH] Support ability to specify nisdomain --- manifests/init.pp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 561d924d..34a26226 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,6 +11,7 @@ $ipv6_support = 'no', $peerdns = 'no', $peerntp = 'no', + $nisdomain = undef, ) { # Only run on RedHat derived systems. @@ -65,11 +66,6 @@ create_resources('network::route', $network_routes) } - $nisdomain = $::nisdomainname ? { - '' => undef, - default => $::nisdomainname, - } - file { 'network_sysconfig': ensure => 'present', mode => '0644',