lp:~marcoceppi/charms/precise/haproxy/cfg-changed-fix

Created by Marco Ceppi and last modified
Get this branch:
bzr branch lp:~marcoceppi/charms/precise/haproxy/cfg-changed-fix
Only Marco Ceppi can upload to this branch. If you are Marco Ceppi please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Marco Ceppi
Status:
Development

Recent revisions

71. By Marco Ceppi

Don't proceed if there are no services available

70. By Marco Ceppi

[sidnei] Fix tests

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.

66. By Jorge Castro

Add categories.

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

64. By Juan L. Negron

Merging LP:148065 Relation driven proxying or multi-service proxying

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
This branch contains Public information 
Everyone can see this information.

Subscribers