diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/xen.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/xen.pp b/manifests/xen.pp index f987c8a..12a7908 100644 --- a/manifests/xen.pp +++ b/manifests/xen.pp @@ -117,6 +117,10 @@ class xen::dom0::centos inherits xen::dom0::base { } class xen::dom0::debian inherits xen::dom0::base { + $real_xen_lvm => $xen_lvm ? { + '' => "vg0_${hostname}", + default => $xen_lvm, + } case $lsbdistcodename { lenny: { package { @@ -129,6 +133,7 @@ class xen::dom0::debian inherits xen::dom0::base { file { "/etc/xen-tools/xen-tools.conf": owner => root, group => 0, mode => 0644, - content => template("virtual/xen-tools.conf"); + content => template("virtual/xen-tools.conf"), + require => Package['xen-tools']; } } |