Do not include placement::config by default

... because there is no requirement to have this inclusion.

Change-Id: I1b7380dfcd6b009328e334dd4b5701dd529fceee
This commit is contained in:
Takashi Kajinami
2020-08-31 18:00:17 +09:00
parent 81a77ce901
commit 2c9312670d
3 changed files with 6 additions and 3 deletions

View File

@@ -70,7 +70,6 @@ class placement::db (
) {
include placement::deps
include placement::config
oslo::db { 'placement_config':
config_group => 'placement_database',

View File

@@ -0,0 +1,6 @@
---
upgrade:
- |
Now the ``placmenet::db`` class doesn't include the ``placement::config``
class automatically. Include the ``placement::config`` explicitly in
manifests if the class is required.

View File

@@ -5,7 +5,6 @@ describe 'placement::db' do
context 'with default parameters' do
it {
should contain_class('placement::deps')
should contain_class('placement::config')
}
it { should contain_oslo__db('placement_config').with(
@@ -45,7 +44,6 @@ describe 'placement::db' do
it {
should contain_class('placement::deps')
should contain_class('placement::config')
}
it { should contain_oslo__db('placement_config').with(