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
}
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";
}