lp://staging/~sidnei/charms/precise/haproxy/restore-services-from-relation
- Get this branch:
- bzr branch lp://staging/~sidnei/charms/precise/haproxy/restore-services-from-relation
Branch merges
- Marco Ceppi (community): Approve
-
Diff: 120 lines (+24/-12)2 files modifiedhooks/hooks.py (+14/-6)
hooks/tests/test_website_hooks.py (+10/-6)
Related bugs
Related blueprints
Branch information
- Owner:
- Sidnei da Silva
- Status:
- Development
Recent revisions
- 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
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/charms/haproxy