aboutsummaryrefslogtreecommitdiff
path: root/manifests/xen/dom0/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/xen/dom0/debian.pp')
-rw-r--r--manifests/xen/dom0/debian.pp27
1 files changed, 27 insertions, 0 deletions
diff --git a/manifests/xen/dom0/debian.pp b/manifests/xen/dom0/debian.pp
new file mode 100644
index 0000000..56ec52c
--- /dev/null
+++ b/manifests/xen/dom0/debian.pp
@@ -0,0 +1,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'];
+ }
+}