Merge lp:~ivoks/charm-helpers/ssh_ip into lp:charm-helpers
Proposed by
Ante Karamatić
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 634 | ||||
Proposed branch: | lp:~ivoks/charm-helpers/ssh_ip | ||||
Merge into: | lp:charm-helpers | ||||
Diff against target: |
61 lines (+36/-1) 1 file modified
charmhelpers/contrib/hardening/ssh/checks/config.py (+36/-1) |
||||
To merge this branch: | bzr merge lp:~ivoks/charm-helpers/ssh_ip | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Liam Young (community) | Needs Fixing | ||
Review via email: mp+306451@code.launchpad.net |
Description of the change
Pass an IP to ssh_ip instead of listen_to
Current 'listen_to' setting in hardening is not very useful in cloud environments. Each unit has its own IP and therefore it's impossible to configure the application with a single config file. This patch extends functionality and figures out an IP on every unit and passes it as ssh_ip variable in the template.
Supports interface names, IPs and CIDRs.
This depends on https:/
To post a comment you must log in.
Could you add a doc string to get_listening please