system-config/modules/openstack_project/manifests/cacti_device.pp

10 lines
292 B
Puppet

# Define that adds a host to a cacti installation.
# Takes the fqdn of the host as the namevar for this define.
define openstack_project::cacti_device()
{
exec { "cacti_create_${name}":
command => "/usr/local/bin/create_graphs.sh ${name}",
require => Exec['cacti_import_xml']
}
}