Created
December 17, 2008 19:30
-
-
Save jfrost/37179 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in cacti::client: | |
@@exec { "add-device_${hostname}": | |
command => "/usr/bin/php /var/www/localhost/htdocs/cacti/cli/add_device.php --description=${hostname} --ip=${ipaddress_eth1} --template=3", | |
tag => "add-cacti-device" | |
} | |
in cacti::server: | |
Exec <<| tag == "add_cacti_device" |>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment