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

Bug #1303862 reported by Jorge Niedbalski
6
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

Revision history for this message
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)
Changed in nrpe (Juju Charms Collection):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.