new style for 2.7
authormh <mh@immerda.ch>
Tue, 5 Jun 2012 21:48:12 +0000 (18:48 -0300)
committermh <mh@immerda.ch>
Tue, 5 Jun 2012 21:48:12 +0000 (18:48 -0300)
manifests/init.pp

index eb0f6ff..950598e 100644 (file)
@@ -14,8 +14,8 @@
 
 class resolvconf {
   file{'/etc/resolv.conf':
 
 class resolvconf {
   file{'/etc/resolv.conf':
-    content => $operatingsystem ? {
-      openbsd => template("resolvconf/resolvconf.$operatingsystem.erb"),
+    content => $::operatingsystem ? {
+      openbsd => template("resolvconf/resolvconf.${::operatingsystem}.erb"),
       default => template('resolvconf/resolvconf.erb'),
     },
     owner => root, group => 0, mode => 0444;
       default => template('resolvconf/resolvconf.erb'),
     },
     owner => root, group => 0, mode => 0444;