
nova::utilities installs a bunch of packages, most of which have much to do with nova and includes deprecated tooling like euc2tools. This class makes little sense to do, if operators want these packages, they should install them directly. Change-Id: I50960a0e902fd0ba1fb8e4ba2852fdbc708bb1d9
23 lines
731 B
Puppet
23 lines
731 B
Puppet
# == Class nova::utilities
|
|
#
|
|
# Extra packages used by nova tools
|
|
# unzip swig screen parted curl euca2ools libguestfs-tools - extra packages
|
|
class nova::utilities {
|
|
warning('This class is deprecated and will be removed in Mitaka. Make other plans if you need these packages installed')
|
|
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'
|
|
}
|
|
}
|
|
}
|