From 19462cb3eebf0cf7c7451eaa612769a6225cef26 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 18 Apr 2017 11:42:25 +0800 Subject: [PATCH] Add the setting log level Increase the setting log level in the synchronization database. Change-Id: Ia2fc51601ed54837c2b5e7da34e9ea12f1d0bf62 Closes-Bug: #1683567 --- manifests/db/sync.pp | 1 + spec/classes/zaqar_db_sync_spec.rb | 1 + 2 files changed, 2 insertions(+) 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]'],