diff options
author | lamont-granquist <lamont@scriptkiddie.org> | 2014-01-08 15:17:57 -0800 |
---|---|---|
committer | lamont-granquist <lamont@scriptkiddie.org> | 2014-01-08 15:17:57 -0800 |
commit | 11a2c298aadbbd71a2aa20af9f2684c1ab635a1b (patch) | |
tree | 152744470dbfbf7d1ee70b0a757a39cb436159ea | |
parent | c17c663884a1858131bc8f166df90cc405552fc2 (diff) | |
parent | 43d45fe187385240596dd844deddc4de8c69c8d0 (diff) | |
download | ohai-11a2c298aadbbd71a2aa20af9f2684c1ab635a1b.tar.gz |
Merge pull request #267 from opscode/lcg/fix-sigar-plugins
s/:sigar/:default/g
-rw-r--r-- | lib/ohai/plugins/sigar/cpu.rb | 2 | ||||
-rw-r--r-- | lib/ohai/plugins/sigar/filesystem.rb | 2 | ||||
-rw-r--r-- | lib/ohai/plugins/sigar/memory.rb | 2 | ||||
-rw-r--r-- | lib/ohai/plugins/sigar/network_route.rb | 2 | ||||
-rw-r--r-- | lib/ohai/plugins/sigar/platform.rb | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/ohai/plugins/sigar/cpu.rb b/lib/ohai/plugins/sigar/cpu.rb index c61da5a0..8f85de33 100644 --- a/lib/ohai/plugins/sigar/cpu.rb +++ b/lib/ohai/plugins/sigar/cpu.rb @@ -19,7 +19,7 @@ Ohai.plugin(:CPU) do provides "cpu" - collect_data(:aix, :hpux, :sigar) do + collect_data(:aix, :hpux, :default) do require 'sigar' sigar = Sigar.new diff --git a/lib/ohai/plugins/sigar/filesystem.rb b/lib/ohai/plugins/sigar/filesystem.rb index e243c4ce..7d51364e 100644 --- a/lib/ohai/plugins/sigar/filesystem.rb +++ b/lib/ohai/plugins/sigar/filesystem.rb @@ -19,7 +19,7 @@ Ohai.plugin(:Filesystem) do provides "filesystem" - collect_data(:aix, :hpux, :sigar) do + collect_data(:aix, :hpux, :default) do require "sigar" sigar = Sigar.new diff --git a/lib/ohai/plugins/sigar/memory.rb b/lib/ohai/plugins/sigar/memory.rb index 7390cac5..4944aeb5 100644 --- a/lib/ohai/plugins/sigar/memory.rb +++ b/lib/ohai/plugins/sigar/memory.rb @@ -19,7 +19,7 @@ Ohai.plugin(:Memory) do provides "memory" - collect_data(:aix, :hpux, :sigar) do + collect_data(:aix, :hpux, :default) do require "sigar" sigar = Sigar.new diff --git a/lib/ohai/plugins/sigar/network_route.rb b/lib/ohai/plugins/sigar/network_route.rb index d06352aa..9fbc1372 100644 --- a/lib/ohai/plugins/sigar/network_route.rb +++ b/lib/ohai/plugins/sigar/network_route.rb @@ -38,7 +38,7 @@ Ohai.plugin do # From sigar: include/sigar.h sigar_net_route_t SIGAR_ROUTE_METHODS = [:destination, :gateway, :mask, :flags, :refcnt, :use, :metric, :mtu, :window, :irtt, :ifname] - collect_data(:sigar) do + collect_data(:default) do require "sigar" sigar = Sigar.new diff --git a/lib/ohai/plugins/sigar/platform.rb b/lib/ohai/plugins/sigar/platform.rb index c90a4115..ef6249f4 100644 --- a/lib/ohai/plugins/sigar/platform.rb +++ b/lib/ohai/plugins/sigar/platform.rb @@ -19,7 +19,7 @@ Ohai.plugin(:Platform) do provides "platform", "platform_version", "platform_family" - collect_data(:aix, :hpux, :sigar) do + collect_data(:aix, :hpux, :default) do require "sigar" sys = Sigar.new.sys_info |