Fix dependency issue with cacti package

Right now the cacti package setups up the /usr/local/share/cacti
directories. So we need to make sure cacti is installed before we
start adding files into those directories.

Change-Id: I99bbf0a71e140380636419c4200d9f4662f5311e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-12-14 11:32:54 -05:00
parent 671a12cd3c
commit a304c5a718
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -34,8 +34,9 @@ class openstack_project::cacti (
}
file { '/usr/local/share/cacti/resource/snmp_queries':
ensure => directory,
owner => 'root',
ensure => directory,
owner => 'root',
require => Package['cacti'],
}
file { '/usr/local/share/cacti/resource/snmp_queries/net-snmp_devio.xml':