summaryrefslogtreecommitdiffstats
path: root/lib/facter/arp.rb
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2011-05-04 11:02:41 +1000
committerJames Turnbull <james@lovedthanlost.net>2011-05-04 13:14:01 +1000
commit063582222f83bd713699c86c825ec1e628a57473 (patch)
tree935a73819834f028cbb001d13ceb2a4f72f7cd8c /lib/facter/arp.rb
parent8353506ea5705a58ed4bf91283e475751fb5f77c (diff)
downloadfacter-063582222f83bd713699c86c825ec1e628a57473.tar.gz
facter-063582222f83bd713699c86c825ec1e628a57473.tar.xz
facter-063582222f83bd713699c86c825ec1e628a57473.zip
Removed inappropriately uncredited Ohai method from ec2 fact
Diffstat (limited to 'lib/facter/arp.rb')
-rw-r--r--lib/facter/arp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter/arp.rb b/lib/facter/arp.rb
index 0a7cf67..85befa4 100644
--- a/lib/facter/arp.rb
+++ b/lib/facter/arp.rb
@@ -13,7 +13,7 @@ Facter.add(:arp) do
end
end
end
- EC2_ARP == arp ? arp : nil
+ "fe:ff:ff:ff:ff:ff" == arp ? arp : nil
end
end
@@ -22,7 +22,7 @@ Facter::Util::IP.get_interfaces.each do |interface|
confine :kernel => :linux
setcode do
arp = Facter::Util::IP.get_arp_value(interface)
- EC2_ARP == arp ? arp : nil
+ "fe:ff:ff:ff:ff:ff" == arp ? arp : nil
end
end
end