Fix a missing renaming from base.py to collectd_base.py
Change-Id: I8e40f7072a644f66b5bb4b4a63f5923ab3b57a87 Related-Bug: #1551622
This commit is contained in:
parent
42b2fbaba0
commit
5ca703ba89
|
@ -33,11 +33,11 @@ class lma_collector::collectd::python_base {
|
|||
|
||||
file { 'base.script':
|
||||
ensure => 'present',
|
||||
path => "${modulepath}/base.py",
|
||||
path => "${modulepath}/collectd_base.py",
|
||||
owner => 'root',
|
||||
group => $collectd::params::root_group,
|
||||
mode => '0640',
|
||||
source => 'puppet:///modules/lma_collector/collectd/base.py',
|
||||
source => 'puppet:///modules/lma_collector/collectd/collectd_base.py',
|
||||
require => Class['collectd::plugin::python'],
|
||||
notify => Service['collectd'],
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ describe 'lma_collector::collectd::python_base' do
|
|||
it { is_expected.to contain_file('base.script') \
|
||||
.with(
|
||||
'ensure' => 'present',
|
||||
'path' => '/usr/lib/collectd/base.py',
|
||||
'path' => '/usr/lib/collectd/collectd_base.py',
|
||||
'owner' => 'root',
|
||||
'group' => 'root',
|
||||
'mode' => '0640',
|
||||
|
|
Loading…
Reference in New Issue