Set cacti exec's cwd to fully rooted path.
The cwd of a puppet exec resource must be a fully rooted path. Make the cacti_import_xml exec use a fully rooted cwd. Change-Id: I8701dd9ef306e488e72e92d5fc38fa3508407af1 Reviewed-on: https://review.openstack.org/15117 Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
35e4918485
commit
f8da250056
@ -52,7 +52,7 @@ class openstack_project::cacti (
|
||||
command => '/usr/bin/php -q /usr/share/cacti/cli/import_template.php \
|
||||
--filename=/var/lib/cacti/linux_host.xml \
|
||||
--with-template-rras',
|
||||
cwd => 'usr/share/cacti/cli',
|
||||
cwd => '/usr/share/cacti/cli',
|
||||
require => File['/var/lib/cacti/linux_host.xml'],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user