
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
24 lines
739 B
Ruby
24 lines
739 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'nova::utilities' do
|
|
|
|
describe 'on debian platforms' do
|
|
let :pre_condition do
|
|
"class { '::nova': install_utilities => true }"
|
|
end
|
|
|
|
let :facts do
|
|
@default_facts.merge({ :osfamily => 'Debian' })
|
|
end
|
|
|
|
it 'installs utilities' do
|
|
is_expected.to contain_package('unzip').with_ensure('present')
|
|
is_expected.to contain_package('screen').with_ensure('present')
|
|
is_expected.to contain_package('parted').with_ensure('present')
|
|
is_expected.to contain_package('curl').with_ensure('present')
|
|
is_expected.to contain_package('euca2ools').with_ensure('present')
|
|
is_expected.to contain_package('libguestfs-tools').with_ensure('present')
|
|
end
|
|
end
|
|
end
|