From 3ee52840342a696c5738950ae86dbe8582d27548 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Thu, 29 Nov 2018 11:08:55 +0100 Subject: [PATCH] Dont include logging in init class by default Change-Id: If5fc3e4e22226ccc97f03afb4dc0dc9a84e4fba4 --- manifests/init.pp | 1 - .../notes/dont-include-logging-init-92644b6fcd5ea382.yaml | 4 ++++ spec/classes/watcher_init_spec.rb | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 releasenotes/notes/dont-include-logging-init-92644b6fcd5ea382.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 7e297f6..4cd10d4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -369,7 +369,6 @@ class watcher ( include ::watcher::params include ::watcher::policy include ::watcher::db - include ::watcher::logging package { 'watcher': ensure => $package_ensure, diff --git a/releasenotes/notes/dont-include-logging-init-92644b6fcd5ea382.yaml b/releasenotes/notes/dont-include-logging-init-92644b6fcd5ea382.yaml new file mode 100644 index 0000000..c356e72 --- /dev/null +++ b/releasenotes/notes/dont-include-logging-init-92644b6fcd5ea382.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + watcher::logging is now not included in init class by default. diff --git a/spec/classes/watcher_init_spec.rb b/spec/classes/watcher_init_spec.rb index 36296e4..d891333 100644 --- a/spec/classes/watcher_init_spec.rb +++ b/spec/classes/watcher_init_spec.rb @@ -9,10 +9,6 @@ describe 'watcher' do { :purge_config => false } end - it 'contains the logging class' do - is_expected.to contain_class('watcher::logging') - end - it 'contains the db class' do is_expected.to contain_class('watcher::db') end