lp:~jseutter/charms/precise/haproxy/trunk
- Get this branch:
- bzr branch lp:~jseutter/charms/precise/haproxy/trunk
Branch merges
- Marco Ceppi (community): Approve
- Jerry Seutter (community): Abstain
- Chris Glass (community): Approve
- Adam Collard (community): Approve
-
Diff: 183 lines (+99/-4)3 files modifiedhooks/hooks.py (+27/-3)
hooks/tests/test_helpers.py (+37/-0)
hooks/tests/test_peer_hooks.py (+35/-1)
Branch information
- Owner:
- Jerry Seutter
- Status:
- Development
Recent revisions
- 74. By Jerry Seutter
-
Error file extension is now .http
The code now reflects the fact that errorfiles is the raw HTTP response,
not just an html document. - 69. By Marco Ceppi
-
[sidnei] This restores some functionality that got removed by accident during my refactoring and was even documented in README.md, namely, that a service can specify a piece of yaml via relation set services=<> to be used when generating the haproxy stanzas.
- 68. By Marco Ceppi
-
[sidnei] The 'all_services' config now supports a static list of servers to be used *in addition* to the ones provided via relation.
[sidnei] When more than one haproxy units exist, the configured service is upgraded in-place to a mode where traffic is routed to a single haproxy unit (the first one in unit-name order) and the remaining ones are configured as 'backup'. This is done to allow the enforcement of a 'maxconn' session in the configured services, which would not be possible to enforce otherwise.
[sidnei] Changes to the configured services are properly propagated to the upstream relation.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/haproxy