Skip to content

Instantly share code, notes, and snippets.

@adamhjk
Created May 27, 2010 19:24
Show Gist options
  • Select an option

  • Save adamhjk/416229 to your computer and use it in GitHub Desktop.

Select an option

Save adamhjk/416229 to your computer and use it in GitHub Desktop.
set[:scaffold] = {
"hostname" => "gstmatch-prodstor-01",
"fqdn" => "las1.colo.ignops.com",
"ip_address" => "10.93.56.49",
"net_device" => "eth0",
"netmask" => "255.255.254.0",
"gateway" => "10.93.56.1",
"datacenter" => "las1",
"farm" => {
"name" => "gstmatch",
"role" => "prodstor",
"id" => "01"
}
}
set[:gst] = {
"interfaces" => [
{"device" => "eth0:0", "ip_address" => "69.10.30.10", "netmask" => "255.255.255.0", "gateway" => "69.10.30.1"},
{"device" => "lo =>0", "ip_address" => "207.38.11.181", "netmask" => "255.255.255.255", "name" => "matchmaster_28910_vip"}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment