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']; } }