diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index fa26c88d..cb9829b0 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -21,6 +21,7 @@ class octavia::db::sync( refreshonly => true, try_sleep => 5, tries => 10, + logoutput => on_failure, subscribe => [ Anchor['octavia::install::end'], Anchor['octavia::config::end'], diff --git a/spec/classes/octavia_db_sync_spec.rb b/spec/classes/octavia_db_sync_spec.rb index 4009f136..98899c84 100644 --- a/spec/classes/octavia_db_sync_spec.rb +++ b/spec/classes/octavia_db_sync_spec.rb @@ -12,6 +12,7 @@ describe 'octavia::db::sync' do :refreshonly => 'true', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[octavia::install::end]', 'Anchor[octavia::config::end]', 'Anchor[octavia::dbsync::begin]'], @@ -34,6 +35,7 @@ describe 'octavia::db::sync' do :refreshonly => 'true', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[octavia::install::end]', 'Anchor[octavia::config::end]', 'Anchor[octavia::dbsync::begin]'],