Merge lp://qastaging/~pjdc/charms/trusty/postgresql/hostname-from-n-e-m into lp://qastaging/charms/trusty/postgresql
Proposed by
Paul Collins
Status: | Merged |
---|---|
Merged at revision: | 114 |
Proposed branch: | lp://qastaging/~pjdc/charms/trusty/postgresql/hostname-from-n-e-m |
Merge into: | lp://qastaging/charms/trusty/postgresql |
Diff against target: |
37 lines (+21/-3) 1 file modified
hooks/hooks.py (+21/-3) |
To merge this branch: | bzr merge lp://qastaging/~pjdc/charms/trusty/postgresql/hostname-from-n-e-m |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Review via email:
|
Description of the change
update_
This is necessary to emit valid nagios configs when related to n-e-m that has nagios_
Fall back to our previous behavour of constructing the hostname ourselves if nagios_hostname is not set or if there are multiple relations found.
To post a comment you must log in.
Looks good.