Clark Boylan e266e84982 Remove idempotency spec checks
The idempotency checks race external changes like updates to
project-config or nodepool. This often causes this job to fail when we
are busy updating other parts of our sytems.

Idempotency is nice but not necessary. Lets remove these checks to make
testing more reliable.

Change-Id: I1092b3a2f4b781465c2148336076677d3c07211e
2019-05-24 08:40:38 -07:00

41 lines
795 B
Ruby
Executable File

require 'puppet-openstack_infra_spec_helper/spec_helper_acceptance'
describe 'basic openstackci' do
if fact('osfamily') == 'Debian'
context 'default parameters' do
it 'should work with no errors' do
base_path = File.dirname(__FILE__)
pp_path = File.join(base_path, 'fixtures', 'default.pp')
pp = File.read(pp_path)
apply_manifest(pp, :catch_failures => true)
end
end
context 'installation of packages' do
describe package('apache2') do
it { should be_installed }
end
end
context 'files and directories' do
describe file('/etc/os_loganalyze/wsgi.conf') do
it { should be_file }
it { should be_owned_by 'root' }
it { should be_mode 440 }
end
end
end
end