Puppet: System Administration Automated

Support

Ticket #1145 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

facts with colons are invalid

Reported by: micah Assigned to: luke
Priority: normal Milestone:
Component: library Version: 0.24.3
Severity: normal Keywords: facter colon ipaddress
Cc: Triage Stage: Ready for checkin
Attached Patches: None Complexity: Trivial

Description

The facter in git HEAD creates facts for available virtual interfaces, such as eth0:0, eth0:1, eth1:0 so that they look like this:

ipaddress_eth0:0 => 123.100.70.2

However because ruby doesn't allow for colons in method or variable names this cannot be referenced in a manifest or template because template support uses method_missing in ruby to look up the variable names.

The colons should be replaced by underscores so ipaddress_eth0_0

Change History

03/20/08 02:13:25 changed by jamtur01

  • owner changed from community to luke.
  • complexity changed from Unknown to Trivial.
  • stage changed from Unreviewed to Ready for checkin.

Fixed in commit [567549bc918efbd06ecb2a181df461e99e92b630] in Facter master branch.

03/28/08 23:22:14 changed by luke

  • status changed from new to closed.
  • resolution set to fixed.

Pushed.