Modified lib/net.sh to support CNAME (+1 record) lookups.
Bug #1303862 reported by
Jorge Niedbalski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nrpe (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* The function ch_get_ip() located on lib/net.sh function doesn't works for hosts that resolves to CNAME entries.
* This causes that charms using this helper function fails with unexpected results.
[Test Case]
$ source lib/net.sh
$ ch_get_ip cname.host.com
- nothing returned
Related branches
lp:~niedbalski/charms/precise/nrpe/lp-1303862
- Marco Ceppi (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedlib/net.sh (+1/-1)
summary: |
- Fixed charm-helper-sh dependency, included on package. + Modified lib/net.sh to support CNAME (+1 record) lookups. |
description: | updated |
description: | updated |
Changed in nrpe (Juju Charms Collection): | |
status: | New → Fix Released |
To post a comment you must log in.
Proposed merge request.