~danilo/landscape-charm/api-endpoint

Viewing all changes in revision 301.

  • Committer: Landscape Builder
  • Author(s): Bjorn Tillenius
  • Date: 2015-06-05 07:32:32 UTC
  • mfrom: (290.3.20 package-upload-leader-change)
  • Revision ID: landscape_builder-20150605073232-au1kikpqzflc5eao
Merge package-upload-leader-change [f=1458665] [r=landscape-builder,free.ekanayaka,adam-collard] [a=Björn Tillenius]
Don't make haproxy break when the landscape-server leader is removed.

If you would have multiple landscape-server units and the leader would
go away, the haproxy config would break. The reason was the
package-upload config was always present in the haproxy config, but the
actual backend was only configured by the leader.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: