diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index 4e1a655..947111b 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -12,6 +12,7 @@ class zaqar::db::sync { refreshonly => true, try_sleep => 5, tries => 10, + logoutput => on_failure, subscribe => [ Anchor['zaqar::install::end'], Anchor['zaqar::config::end'], diff --git a/spec/classes/zaqar_db_sync_spec.rb b/spec/classes/zaqar_db_sync_spec.rb index 6e14394..60b740d 100644 --- a/spec/classes/zaqar_db_sync_spec.rb +++ b/spec/classes/zaqar_db_sync_spec.rb @@ -14,6 +14,7 @@ describe 'zaqar::db::sync' do :user => 'zaqar', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[zaqar::install::end]', 'Anchor[zaqar::config::end]', 'Anchor[zaqar::dbsync::begin]'],