Modified lib/net.sh to support CNAME (+1 record) lookups.

Bug #1303862 reported by Jorge Niedbalski on 2014-04-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nrpe (Juju Charms Collection)
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

Jorge Niedbalski (niedbalski) wrote :

Proposed merge request.

summary: - Fixed charm-helper-sh dependency, included on package.
+ Modified lib/net.sh to support CNAME (+1 record) lookups.
description: updated
description: updated
Marco Ceppi (marcoceppi) on 2014-04-17
Changed in nrpe (Juju Charms Collection):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers