79f7f3be01
Include libguestfs-tools package as part of nova utilities class and update spec tests. This package provides library and tools for managing virtual disks such as guestmount which are useful for nova-compute. Change-Id: Ie63b1417b5d9f584a23baa52f26efc3ff71b8785
22 lines
623 B
Puppet
22 lines
623 B
Puppet
# == Class nova::utilities
|
|
#
|
|
# Extra packages used by nova tools
|
|
# unzip swig screen parted curl euca2ools libguestfs-tools - extra packages
|
|
class nova::utilities {
|
|
if $::osfamily == 'Debian' {
|
|
ensure_packages(['unzip', 'screen', 'parted', 'curl', 'euca2ools'])
|
|
|
|
package {'libguestfs-tools':
|
|
ensure => present,
|
|
responsefile => '/var/run/guestfs.seed',
|
|
require => File['guestfs.seed']
|
|
}
|
|
|
|
file {'guestfs.seed':
|
|
ensure => present,
|
|
path => '/var/run/guestfs.seed',
|
|
content => 'libguestfs0 libguestfs/update-appliance boolean true'
|
|
}
|
|
}
|
|
}
|