]> gitweb.fluxo.info Git - puppet-virtual.git/commitdiff
the package names need to be quoted because they have periods in their names
authorMicah Anderson <micah@riseup.net>
Thu, 12 Feb 2009 01:45:46 +0000 (20:45 -0500)
committerMicah Anderson <micah@riseup.net>
Thu, 12 Feb 2009 01:45:46 +0000 (20:45 -0500)
I also changed the variable to be $xen_linux_system instead of with dashes, for
some reason the dashes weren't being allowed, and in emacs the variable wasn't
being colored as a variable, when changed to underscore, it changed to the
right color for variables

manifests/xen.pp

index a24021abbb90f0f0b840b4a8d76b04b98793ebc8..f59f316bd36eab39dafa36748625573041fed768 100644 (file)
@@ -85,13 +85,13 @@ class xen::domain::centos inherits xen::domain::base {
 }
 
 class xen::domain::debian inherits xen::domain::base {
-  "$xen-linux-system" = $architecture ? {
-    amd64 => xen-linux-system-2.6.26-1-xen-amd64,
-    i386 => xen-linux-system-2.6.26-1-xen-686
+  $xen_linux_system = $architecture ? {
+    amd64 => "xen-linux-system-2.6.26-1-xen-amd64",
+    i386 => "xen-linux-system-2.6.26-1-xen-686"
   }
 
   package {
-    "$xen-linux-system":
+    "$xen_linux_system":
       ensure => present,
       alias => "xen-linux-system";
   }