00e744a9b1
This changes the puppet-lint requirement to 1.1.x, so that we can use puppet-lint plugins. Most of these plugins are for 4.x compat, but some just catch common errors. Change-Id: I48838fa11902247101c0473abff65cbb2558f609
22 lines
608 B
Puppet
22 lines
608 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'
|
|
}
|
|
}
|
|
}
|