Merge "Remove duplicate entry of collectd-python package" into stable/train

This commit is contained in:
Zuul 2020-05-07 19:29:54 +00:00 committed by Gerrit Code Review
commit 6006891aef
2 changed files with 1 additions and 4 deletions

View File

@ -281,7 +281,7 @@ class tripleo::profile::base::metrics::collectd (
logtraces => true,
}
$python_packages = concat(['collectd-python'], $python_read_plugins)
$python_packages = $python_read_plugins
package { $python_packages:
ensure => 'present'
}

View File

@ -58,9 +58,6 @@ describe 'tripleo::profile::base::metrics::collectd' do
is_expected.to contain_package('python-collectd-gnocchi').with(
:ensure => 'present',
)
is_expected.to contain_package('collectd-python').with(
:ensure => 'present',
)
is_expected.to_not contain_class('epel')
is_expected.to_not contain_class('collectd::plugin::amqp1')
is_expected.to_not contain_class('collectd::plugin::logfile')