diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index b65bb2be7..cee869b77 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -28,6 +28,7 @@ class keystone::db::sync( refreshonly => true, try_sleep => 5, tries => 10, + logoutput => on_failure, subscribe => [ Anchor['keystone::install::end'], Anchor['keystone::config::end'], diff --git a/spec/classes/keystone_db_sync_spec.rb b/spec/classes/keystone_db_sync_spec.rb index c0925ba13..619031d4b 100644 --- a/spec/classes/keystone_db_sync_spec.rb +++ b/spec/classes/keystone_db_sync_spec.rb @@ -13,6 +13,7 @@ describe 'keystone::db::sync' do :try_sleep => 5, :tries => 10, :refreshonly => true, + :logoutput => 'on_failure', :subscribe => ['Anchor[keystone::install::end]', 'Anchor[keystone::config::end]', 'Anchor[keystone::dbsync::begin]'], @@ -37,6 +38,7 @@ describe 'keystone::db::sync' do :try_sleep => 5, :tries => 10, :refreshonly => true, + :logoutput => 'on_failure', :subscribe => ['Anchor[keystone::install::end]', 'Anchor[keystone::config::end]', 'Anchor[keystone::dbsync::begin]'],