Merge lp:~ahasenack/charms/precise/apache2/apache2-default-servername into lp:charms/apache2
Proposed by
Andreas Hasenack
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 47 | ||||
Proposed branch: | lp:~ahasenack/charms/precise/apache2/apache2-default-servername | ||||
Merge into: | lp:charms/apache2 | ||||
Diff against target: |
44 lines (+16/-3) 1 file modified
hooks/hooks.py (+16/-3) |
||||
To merge this branch: | bzr merge lp:~ahasenack/charms/precise/apache2/apache2-default-servername | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Ceppi (community) | Approve | ||
Review via email: mp+192350@code.launchpad.net |
Description of the change
If the config key "servername" is empty, fill it in with the public-address of the unit to match what the documentation says.
Since we are also using charm helpers, I updated the calls to unit-get to use the charm helper method.
To post a comment you must log in.
I removed this from the review queue for now because I'm chasing a similar bug in haproxy, and my test deployment needs both apache2 and haproxy working.