From f6d2fb7d409a919ad2418609ee1f80a865486574 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Thu, 29 Nov 2018 10:54:40 +0100 Subject: [PATCH] Dont include logging in init class by default Change-Id: I2ec59c69cfbdf2b4bd52047c5c0cf76cd08845d4 --- manifests/init.pp | 1 - .../notes/dont-include-logging-init-c86c2eca3dbeee40.yaml | 4 ++++ spec/classes/octavia_init_spec.rb | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 releasenotes/notes/dont-include-logging-init-c86c2eca3dbeee40.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 4435efc4..a9e437c4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -263,7 +263,6 @@ class octavia ( include ::octavia::deps include ::octavia::db - include ::octavia::logging package { 'octavia': ensure => $package_ensure, diff --git a/releasenotes/notes/dont-include-logging-init-c86c2eca3dbeee40.yaml b/releasenotes/notes/dont-include-logging-init-c86c2eca3dbeee40.yaml new file mode 100644 index 00000000..8d88bf6c --- /dev/null +++ b/releasenotes/notes/dont-include-logging-init-c86c2eca3dbeee40.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + octavia::logging is now not included in init class by default. diff --git a/spec/classes/octavia_init_spec.rb b/spec/classes/octavia_init_spec.rb index b54297d9..22b3e309 100644 --- a/spec/classes/octavia_init_spec.rb +++ b/spec/classes/octavia_init_spec.rb @@ -13,10 +13,6 @@ describe 'octavia' do is_expected.to contain_class('octavia::deps') end - it 'contains the logging class' do - is_expected.to contain_class('octavia::logging') - end - it 'installs packages' do is_expected.to contain_package('octavia').with( :name => platform_params[:octavia_common_package],