Skip to content

tamucookbooks/haproxy

Repository files navigation

Haproxy Cookbook

Install and configure haproxy

Requirements

This cookbook is only tested with Ubuntu 12.04. This also looks for a databag called haproxy.

Attributes

haproxy::default

Key Type Description Default
['haproxy']['global']['log'] Hash Log location and facility {"localhost" => "syslog"}
['haproxy']['global']['user'] String User to run Haproxy as haproxy
['haproxy']['global']['group'] String Group to run Haproxy as haproxy
['haproxy']['global']['group'] String Group to run Haproxy as haproxy
['haproxy']['global']['maxconn'] String Maximum connections 256
['haproxy']['default']['mode'] String Haproxy mode http
['haproxy']['default']['timeout_connect'] String Default connection timeout 5s
['haproxy']['default']['timeout_client'] String Default client timeout 5s
['haproxy']['default']['timeout_server'] String Default sever timeout 5s

Usage

haproxy::default

TODO: Write usage instructions for each cookbook.

e.g. Just include haproxy in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[haproxy]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Jim Rosser

License: MIT

About

Ha Proxy Chef Cookbook

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •