summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorEric Saxby <sax@livinginthepast.org>2013-11-15 00:15:29 -0800
committerBryan McLellan <btm@opscode.com>2013-11-26 10:57:02 -0800
commit414fce758ecf2b6eb6e6f5698c2d8456f13387c6 (patch)
tree599ff012508b69582b8ff51f532d6a48ee4ae846 /Gemfile
parentbcc1557b31a66bd8127fa6306eb067596540db74 (diff)
downloadohai-414fce758ecf2b6eb6e6f5698c2d8456f13387c6.tar.gz
OHAI-529: ip_scopes prefers ethernet to ppp
On hosts with virtual interfaces on RFC1918 networks, the ip_scopes plugin may set `node.privateaddress` to a virtual address. This can cause problems with automation that relies on the `privateaddress` attribute. This patch prefers non-ppp interfaces when setting `privateaddress`, though it will use ppp interfaces if they are the only ones.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 9b991f32..ca1f7311 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,6 +11,7 @@ group :development do
gem "sigar", :platform => "ruby"
gem 'plist'
+ gem 'ipaddr_extensions'
#gem 'pry'
#gem 'pry-debugger'
# gem 'pry-stack_explorer'