diff options
author | Micah Anderson <micah@riseup.net> | 2009-02-11 20:45:46 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-02-11 20:45:46 -0500 |
commit | 55972f4dce76aa992a3c38d5b7ffc3ea84116b68 (patch) | |
tree | 1b3a9c50905b74bc41766027caadcf2d960cbee9 | |
parent | ce9928cf11e731ee55beaa8b4fab9c50d99c5694 (diff) | |
download | puppet-virtual-55972f4dce76aa992a3c38d5b7ffc3ea84116b68.tar.gz puppet-virtual-55972f4dce76aa992a3c38d5b7ffc3ea84116b68.tar.bz2 |
the package names need to be quoted because they have periods in their names
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
-rw-r--r-- | manifests/xen.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/xen.pp b/manifests/xen.pp index a24021a..f59f316 100644 --- a/manifests/xen.pp +++ b/manifests/xen.pp @@ -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"; } |