diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2007-03-21 15:47:47 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2007-03-21 15:47:47 +0000 |
commit | 4880c6954061ced76d88997c14cc963ffb00a9ab (patch) | |
tree | 47fee8fa43610ccf60dc7da85090a47d9d5fc00d | |
parent | 11cff7b227cf1eeb4e27e28c64b8954dc5c11145 (diff) | |
download | facter-4880c6954061ced76d88997c14cc963ffb00a9ab.tar.gz facter-4880c6954061ced76d88997c14cc963ffb00a9ab.tar.xz facter-4880c6954061ced76d88997c14cc963ffb00a9ab.zip |
Applying patch from #36 by psychedelys
git-svn-id: http://reductivelabs.com/svn/facter/trunk@199 1f5c1d6a-bddf-0310-8f58-fc49e503516a
-rw-r--r-- | lib/facter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter.rb b/lib/facter.rb index ecfd4c8..489ffa7 100644 --- a/lib/facter.rb +++ b/lib/facter.rb @@ -918,6 +918,7 @@ class Facter ether end + end Facter.add("IPAddress") do confine :kernel => :linux @@ -938,7 +939,6 @@ class Facter ip end end - end Facter.add("IPAddress") do confine :kernel => %w{FreeBSD NetBSD OpenBSD solaris} setcode do |