Sha256: 8f46db18406af8a57dfefe9c2e5da5837af3f7f58f45fd0301db86a111e7dbb2

Contents?: true

Size: 367 Bytes

Versions: 4

Compression:

Stored size: 367 Bytes

Contents

# netmask.rb
# Find the netmask of the primary ipaddress
# Copyright (C) 2007 David Schmitt <david@schmitt.edv-bus.at>
# Copyright (C) 2007 Mark 'phips' Phillips
#
# idea and originial source by Mark 'phips' Phillips
#

require 'facter/util/netmask'

Facter.add("netmask") do
	confine :kernel => [ :sunos, :linux ]
	setcode do
		Facter::NetMask.get_netmask
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facter-1.5.3 lib/facter/netmask.rb
facter-1.5 lib/facter/netmask.rb
facter-1.5.4 lib/facter/netmask.rb
facter-1.5.2 lib/facter/netmask.rb