summaryrefslogtreecommitdiff
path: root/lib/chef/providers.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2016-04-04 16:35:28 -0700
committerThom May <thom@chef.io>2016-04-04 16:42:50 -0700
commitfb7ad1505d0257a10a4dcc984fbb898d02e9754d (patch)
tree77756de0187b779cbbbf4fad2a84eb5de9a86936 /lib/chef/providers.rb
parent90cf8d0a1c64bea5c06bf1957c8e84ebdbf66dd2 (diff)
downloadchef-tm/provider_no_op.tar.gz
Add a NoOp providertm/provider_no_op
This allows one to have a resource which is really only appropriate for one platform, but available everywhere. Then you simply allow noop to provide the resource everywhere besides where it's supposed to be.
Diffstat (limited to 'lib/chef/providers.rb')
-rw-r--r--lib/chef/providers.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/providers.rb b/lib/chef/providers.rb
index 6fd67e0068..80fadfc8c2 100644
--- a/lib/chef/providers.rb
+++ b/lib/chef/providers.rb
@@ -41,6 +41,7 @@ require "chef/provider/log"
require "chef/provider/ohai"
require "chef/provider/mdadm"
require "chef/provider/mount"
+require "chef/provider/noop"
require "chef/provider/package"
require "chef/provider/powershell_script"
require "chef/provider/osx_profile"