blob: 8c916c8c31880d3f104ecd6bcbf7409c7644351d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class virtual::xen::domain::debian inherits xen::domain::base {
case $lsbdistcodename {
"lenny": {
$xen_linux_system = $architecture ? {
amd64 => "xen-linux-system-2.6.26-2-xen-amd64",
i386 => "xen-linux-system-2.6.26-2-xen-686"
}
}
"squeeze": {
$xen_linux_system = $architecture ? {
/(amd64|x86_64)/ => "xen-linux-system-2.6.32-5-xen-amd64",
i386 => "xen-linux-system-2.6.32-5-xen-686"
}
}
}
package {
"$xen_linux_system":
ensure => present,
alias => "xen-linux-system";
}
}
|