aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-02-18 13:19:57 +0000
committerGerrit Code Review <review@openstack.org>2016-02-18 13:19:57 +0000
commit94a1aefd6213180804db4c7da9de477e1cc51a31 (patch)
tree02c8e19eabf2b38d2d2abf126ce6cf5648fba642 /spec
parentaa6a6cecc257f78a3e064a449f618ff6eecdef36 (diff)
parent0543b4de44c36fcb351b127fa0c0d0c35d17965f (diff)
Merge "packages: secure upgrade workflow from dependency cycles"
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/tripleo_packages_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/classes/tripleo_packages_spec.rb b/spec/classes/tripleo_packages_spec.rb
index 55a135b..80e5d7e 100644
--- a/spec/classes/tripleo_packages_spec.rb
+++ b/spec/classes/tripleo_packages_spec.rb
@@ -20,10 +20,7 @@ describe 'tripleo::packages' do
shared_examples_for 'Red Hat distributions' do
let :pre_condition do
- "
- package{'nova-compute': ensure => present}
- service{'nova-compute': ensure => 'running'}
- "
+ "service{'nova-compute': ensure => 'running'}"
end
let :facts do
@@ -40,7 +37,6 @@ describe 'tripleo::packages' do
end
it 'should contain correct upgrade ordering' do
- is_expected.to contain_package('nova-compute').that_comes_before('Exec[package-upgrade]')
is_expected.to contain_exec('package-upgrade').that_comes_before('Service[nova-compute]')
is_expected.to contain_exec('package-upgrade').with(:command => 'yum -y update')
end