~openstack-charmers-next/charms/wily/rabbitmq-server/trunk

Viewing all changes in revision 152.

  • Committer: James Page
  • Date: 2016-07-08 08:12:55 UTC
  • Revision ID: james.page@ubuntu.com-20160708081255-9biw4i1ygeg6h6jf
Ensure rabbit hosts are resolvable

The update_hosts_file function requires a full map of entries to
write into /etc/hosts; the previous use of this function tried
to write individual host entries only.

Ensure that a full map of self + peers is written at appropriate
points in a units lifecycle to ensure self and peer hostname
resolvability.

(also fixed a typo in a status message)

Change-Id: If40b31a55641861a1e03985f318e012b545fcc25
Closes-Bug: 1592200
Closes-Bug: 1590085

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: