]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Upgrading resolvconf
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Jan 2013 13:32:36 +0000 (11:32 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Jan 2013 13:32:36 +0000 (11:32 -0200)
manifests/subsystems/resolver.pp

index 0d8beb8f57e398ebd65ba893877334f04ed65ef6..3e5c36b61f284be1351b990c3b02aa21eec3f31f 100644 (file)
@@ -12,9 +12,10 @@ class resolver {
       }
     }
     default: {
-      $resolvconf_domain = "$domain"
-      $resolvconf_search = "$fqdn"
-      include resolvconf
+      class { 'resolvconf':
+        search      => $::fqdn,
+        nameservers => $resolvconf_nameservers,
+      }
     }
   }
 }