From 55972f4dce76aa992a3c38d5b7ffc3ea84116b68 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 11 Feb 2009 20:45:46 -0500 Subject: 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 --- manifests/xen.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests/xen.pp') 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"; } -- cgit v1.2.3