Feature #1846
ipmess.rb: Change interfaces to match the names used for the variables
| Status: | Closed | Start date: | 12/30/2008 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | library | |||
| Target version: | 1.5.3 | |||
| Keywords: | Affected Facter version: | |||
| Branch: | ||||
| Votes: | 0 |
Description
: and . are being replaced with _ in the variable names. The names in the interfaces variables should be changed to match
This can be done by changing line: Facter::IPAddress.get_interfaces.join(“,”) to Facter::IPAddress.get_interfaces.join(“,”).gsub([:.], ‘_’)
History
Updated by snemetz - about 3 years ago
Made a typo gsub([:.], ‘’) should have been gsub(/[:.]/, ‘’)
Updated by Luke Kanies about 3 years ago
- Status changed from Unreviewed to In Topic Branch Pending Review
- Assignee changed from James Turnbull to Luke Kanies
Fixed in the tickets/1846 branch in my repo, along with some refactoring and whitespace changes.
Updated by Luke Kanies about 3 years ago
- Status changed from In Topic Branch Pending Review to Closed
- % Done changed from 0 to 100
Applied in changeset commit:aa56886b1143d49173f4878a41107f55fece529c.