Created
November 2, 2012 12:01
-
-
Save rpetre/4000674 to your computer and use it in GitHub Desktop.
duplicate selection of variable
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
infra:~ # cf-agent -KI | |
!! Duplicate selection of value for variable "missing" in scope dead_hosts | |
!! Rule from /var/cfengine/inputs/actions/update.cf at/before line 38 | |
!! Duplicate selection of value for variable "missing" in scope dead_hosts | |
!! Rule from /var/cfengine/inputs/actions/update.cf at/before line 38 | |
------------------- | |
bundle agent dead_hosts { | |
vars: | |
"delay" int => "24"; | |
"missing" slist => { hostsseen ("$(delay)","notseen","name") }; | |
reports: | |
cfengine3:: | |
"I haven't seen $(missing) for the last $(delay) hours!" | |
action => if_elapsed("240"); # every 4h | |
} | |
----------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment