new style for 2.7
authormh <mh@immerda.ch>
Tue, 5 Jun 2012 22:17:52 +0000 (19:17 -0300)
committermh <mh@immerda.ch>
Tue, 5 Jun 2012 22:17:52 +0000 (19:17 -0300)
manifests/init.pp
manifests/pcre/devel.pp

index 4c5062a..ba261ee 100644 (file)
@@ -6,7 +6,5 @@
 # Simon Josi josi+puppet(at)puzzle.ch
 
 class perl {
-    case $operatingsystem {
-        default: { include perl::base }
-    }
+  include perl::base
 }
index fb5c06e..bf6564e 100644 (file)
@@ -1,4 +1,6 @@
 class perl::pcre::devel {
   include perl::pcre
-  package{"pcre-devel.${architecture}": ensure => present }
-}
\ No newline at end of file
+  package{"pcre-devel.${::architecture}":
+    ensure => present
+  }
+}