Wraps HAProxy interface to add enale/disable buttons
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Capfile
Gemfile
Gemfile.lock
Readme.md
app.rb
config.example.yml
config.ru
environment.rb
manager.rb
sudoless_haproxy_switch

Readme.md

Deprecated

This is already included in HaProxy 1.4.9+, so do the upgrade !!

Goals

Wraps HA interface to add:

  • on / off switch

Server-Setup

  • Copy and customize config.example.yml into shared/config.yml
  • add /srv/ha_plus/shared/pids
  • add /srv/ha_plus/shared/log
  • move sudoless_haproxy_switch to /usr/local/bin
  • add %users ALL=(ALL) NOPASSWD:/usr/local/bin/sudoless_haproxy_switch to /etc/sudoers