diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-04-29 16:59:19 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2014-04-29 17:16:50 -0700 |
commit | 366f1e2f9971569ec20e1dea3266155dfb438fd0 (patch) | |
tree | 7e79eaa316eeabd70575f773a57cd7ab121fedfd /lib/ohai/runner.rb | |
parent | facc94aa5f2d70fac443b128c4962a28312369c1 (diff) | |
download | ohai-366f1e2f9971569ec20e1dea3266155dfb438fd0.tar.gz |
Merge pull request #326 from opscode/sersut/disable-fix
Move :disabled_plugin check for plugins to running time of the plugins
Diffstat (limited to 'lib/ohai/runner.rb')
-rw-r--r-- | lib/ohai/runner.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ohai/runner.rb b/lib/ohai/runner.rb index 04c6b79f..bfa8ae4c 100644 --- a/lib/ohai/runner.rb +++ b/lib/ohai/runner.rb @@ -37,11 +37,6 @@ module Ohai raise Ohai::Exceptions::InvalidPlugin, "Invalid plugin #{plugin} (must be an Ohai::DSL::Plugin or subclass)" end - if Ohai::Config[:disabled_plugins].include?(plugin.name) - Ohai::Log.debug("Skipping disabled plugin #{plugin.name}") - return false - end - begin case plugin.version when :version7 |