From bfd8584f18a03c30c3fff06893cdedd0e5935bda Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 18 Apr 2017 11:31:38 +0800 Subject: [PATCH] Add the setting log level Increase the setting log level in the synchronization database. Change-Id: Ibfdc689def55aa56ad69479053a97c2d76825981 Closes-Bug: #1683567 --- manifests/db/sync.pp | 1 + spec/classes/tacker_db_sync_spec.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index a893af6..01d6feb 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -26,6 +26,7 @@ class tacker::db::sync( refreshonly => true, try_sleep => 5, tries => 10, + logoutput => on_failure, subscribe => [ Anchor['tacker::install::end'], Anchor['tacker::config::end'], diff --git a/spec/classes/tacker_db_sync_spec.rb b/spec/classes/tacker_db_sync_spec.rb index 89a2922..2e22583 100644 --- a/spec/classes/tacker_db_sync_spec.rb +++ b/spec/classes/tacker_db_sync_spec.rb @@ -12,6 +12,7 @@ describe 'tacker::db::sync' do :refreshonly => 'true', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[tacker::install::end]', 'Anchor[tacker::config::end]', 'Anchor[tacker::dbsync::begin]'], @@ -34,6 +35,7 @@ describe 'tacker::db::sync' do :refreshonly => 'true', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[tacker::install::end]', 'Anchor[tacker::config::end]', 'Anchor[tacker::dbsync::begin]'],