Sha256: ca12397f6c9bf0a1a9bada750ad44054ef3fd03f14f60725ad9d8a74734bb810
Contents?: true
Size: 270 Bytes
Versions: 2
Compression:
Stored size: 270 Bytes
Contents
require 'facter/util/ip' Facter::Util::IP.get_interfaces.each do |interface| Facter.add("network_" + Facter::Util::IP.alphafy(interface)) do setcode do Facter::Util::IP.get_network_value(interface) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facter-1.5.3 | lib/facter/network.rb |
facter-1.5.4 | lib/facter/network.rb |