Add more hosts to cacti.
And fix a typo. Change-Id: I1aa7892178d7e13d086e3362c48e8ba9f3550a1d Reviewed-on: https://review.openstack.org/14673 Reviewed-by: Monty Taylor <mordred@inaugust.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
8bb3ef831a
commit
f4be59e686
@ -49,12 +49,14 @@ class openstack_project::cacti (
|
|||||||
}
|
}
|
||||||
|
|
||||||
class {'cacti_device': hostname=> "etherpad.openstack.org"}
|
class {'cacti_device': hostname=> "etherpad.openstack.org"}
|
||||||
|
class {'cacti_device': hostname=> "jenkins.openstack.org"}
|
||||||
|
class {'cacti_device': hostname=> "review.openstack.org"}
|
||||||
}
|
}
|
||||||
|
|
||||||
class cacti_device(
|
class cacti_device(
|
||||||
$hostname
|
$hostname
|
||||||
){
|
){
|
||||||
exec { "/var/lib/cacti/linux_host.xml":
|
exec { "cacti_create_$hostname":
|
||||||
command => "/usr/local/bin/create_graphs.sh $hostname",
|
command => "/usr/local/bin/create_graphs.sh $hostname",
|
||||||
require => Exec["cacti_import_xml"]
|
require => Exec["cacti_import_xml"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user