Skip to content

Instantly share code, notes, and snippets.

@jbouse
Forked from anonymous/-
Last active August 29, 2015 14:01
Show Gist options
  • Save jbouse/dc459f451e3514ca7c91 to your computer and use it in GitHub Desktop.
Save jbouse/dc459f451e3514ca7c91 to your computer and use it in GitHub Desktop.
case $::hostname {
/^gphapaadm(2|3|4|5|6|7)$/ : {
$els_host = 'elsvipprd1.ddtc.cmgdigital.com'
$els_port = '9200'
$gph_host = 'graphite2.ddtc.cmgdigital.com'
$gph_port = '80'
}
default : { fail("elasticsearch host not set been for ${::hostname} in graphite::webapp") }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment