diff --git a/manifests/init.pp b/manifests/init.pp index bdd1727..3f6919d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -371,7 +371,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 55b43fd..da8089b 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