lp:~marcoceppi/charms/precise/haproxy/cfg-changed-fix
- Get this branch:
- bzr branch lp:~marcoceppi/charms/precise/haproxy/cfg-changed-fix
Branch merges
- Dave Cheney (community): Approve (lgtm.)
-
Diff: 13 lines (+2/-1)1 file modifiedhooks/hooks.py (+2/-1)
Branch information
- Owner:
- Marco Ceppi
- Status:
- Development
Recent revisions
- 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. - 65. By Juan L. Negron
-
When the reverseproxy relation changes, the website proxy will likely need to be updated, so trigger a config-changed to notify the other side of the relation that it will need to update.
I'm not sure if this the appropriate way to handle this situation, but in practice it seems to work. Please let me know if there is a more accurate or correct way to do it. LP:148605
- 63. By Juan L. Negron
-
Merging mthaddon's branch. Include nrpe-external-
master relation, and ability to inject pre-install hooks if necessary. MP:139978 - 62. By Juan L. Negron
-
When a unit of a service having a relation with haproxy is juju-removed, ha proxy was not removing the line for this unit in /etc/haproxy.cfg.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/haproxy