blob: 56ec52c936ae78177366f9a65f30c08068a55183 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class virtual::xen::dom0::debian inherits xen::dom0::base {
$real_xen_lvm = $xen_lvm ? {
'' => "vg_${hostname}0",
default => $xen_lvm,
}
case $lsbdistcodename {
lenny: {
package {
"xen-tools":
ensure => "4.1-1~bpo50+1",
}
}
squeeze: {
package {
"xen-tools":
ensure => installed;
}
}
}
file {
"/etc/xen-tools/xen-tools.conf":
owner => root, group => 0, mode => 0644,
content => template("site_virtual/xen/${operatingsystem}/${lsbdistcodename}/xen-tools.conf.erb"),
require => Package['xen-tools'];
}
}
|