Skip to content

Instantly share code, notes, and snippets.

@johnfitzpatrick
Last active August 29, 2015 14:11
Show Gist options
  • Save johnfitzpatrick/c5829efc9c2e6fe7391d to your computer and use it in GitHub Desktop.
Save johnfitzpatrick/c5829efc9c2e6fe7391d to your computer and use it in GitHub Desktop.
node.default['haproxy']['members'] = [{
"hostname" => "localhost",
"ipaddress" => "127.0.0.1",
"port" => node["myapache"]["port"],
"ssl_port" => node["myapache"]["port"]
}]
node.default['haproxy']['admin']['address_bind'] = "0.0.0.0"
node.default['haproxy']['admin']['port'] = 8082
node.default['haproxy']['enable_stats_socket'] = true
include_recipe "haproxy::default"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment