Fix a missing renaming from base.py to collectd_base.py

Change-Id: I8e40f7072a644f66b5bb4b4a63f5923ab3b57a87
Related-Bug: #1551622
This commit is contained in:
Guillaume Thouvenin 2016-04-11 14:06:04 +02:00
parent 42b2fbaba0
commit 5ca703ba89
2 changed files with 3 additions and 3 deletions

View File

@ -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'],
}

View File

@ -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',