From c7b3b489e6ecffe13436457888fd78b2c9875b26 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 18 Apr 2017 10:57:54 +0800 Subject: [PATCH] Increase the setting log level Increase the setting log level in the synchronization database. Change-Id: Idfbcec022b629f66df9a52c84700f5b67a70cbcf Closes-Bug: #1683567 --- manifests/db/sync.pp | 1 + spec/classes/barbican_db_sync_spec.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index c26f7c60..cf579807 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -21,6 +21,7 @@ class barbican::db::sync( refreshonly => true, try_sleep => 5, tries => 10, + logoutput => on_failure, subscribe => [ Anchor['barbican::install::end'], Anchor['barbican::config::end'], diff --git a/spec/classes/barbican_db_sync_spec.rb b/spec/classes/barbican_db_sync_spec.rb index 4a16dd51..668af3a1 100644 --- a/spec/classes/barbican_db_sync_spec.rb +++ b/spec/classes/barbican_db_sync_spec.rb @@ -12,6 +12,7 @@ describe 'barbican::db::sync' do :refreshonly => 'true', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[barbican::install::end]', 'Anchor[barbican::config::end]', 'Anchor[barbican::dbsync::begin]'], @@ -34,6 +35,7 @@ describe 'barbican::db::sync' do :refreshonly => 'true', :try_sleep => 5, :tries => 10, + :logoutput => 'on_failure', :subscribe => ['Anchor[barbican::install::end]', 'Anchor[barbican::config::end]', 'Anchor[barbican::dbsync::begin]'],