Last active
April 21, 2017 18:25
-
-
Save heliocentric/3484a6b109b2e1056e62412f0ae45759 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
$haproxy_servers = { | |
"test" => { | |
"host" => "test1", | |
"stuff" => "test2", | |
}, | |
"jump" => { | |
"host" => "jump1", | |
"stuff" => "jump2", | |
} | |
} | |
if $haproxy_servers { | |
$haproxy_servers.each |$key, $value| { | |
$host = $value["host"] | |
$stuff = $value["stuff"] | |
$stuff_ssl = $value["stuff_ssl"] | |
notify { "$host": } | |
notify { "$stuff": } | |
} | |
} | |
resources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment