Sha256: 1e2230325933a78a975e347aef8adbd5ad5f4ee82cb26fb54cd923e40e9e3441
Contents?: true
Size: 249 Bytes
Versions: 5
Compression:
Stored size: 249 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
facter-1.5.9 | lib/facter/network.rb |
facter-1.5.8 | lib/facter/network.rb |
facter-1.5.7 | lib/facter/network.rb |
facter-1.5.6 | lib/facter/network.rb |
facter-1.5.5 | lib/facter/network.rb |