summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-08-13 13:45:26 -0700
committerClaire McQuin <claire@getchef.com>2014-08-14 12:33:28 -0700
commit2bbe00cb6b0807dc19bbeb3c6873f4a99a0486ac (patch)
treeb37fd0ec76acb7cf3bd532750d4b23203fd0dd89
parent8691335ad8d4505b28bf77d1aaa03e10ee9d2056 (diff)
downloadchef-2bbe00cb6b0807dc19bbeb3c6873f4a99a0486ac.tar.gz
Remove recipe DSL from base provider.
-rw-r--r--lib/chef/mixin/windows_architecture_helper.rb1
-rw-r--r--lib/chef/provider.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/mixin/windows_architecture_helper.rb b/lib/chef/mixin/windows_architecture_helper.rb
index edcd596341..ef944ab7f7 100644
--- a/lib/chef/mixin/windows_architecture_helper.rb
+++ b/lib/chef/mixin/windows_architecture_helper.rb
@@ -18,6 +18,7 @@
require 'chef/exceptions'
+require 'chef/platform'
require 'win32/api' if Chef::Platform.windows?
require 'chef/win32/api/process' if Chef::Platform.windows?
require 'chef/win32/api/error' if Chef::Platform.windows?
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb
index db7629dbcb..bdfe826944 100644
--- a/lib/chef/provider.rb
+++ b/lib/chef/provider.rb
@@ -19,14 +19,12 @@
require 'chef/mixin/from_file'
require 'chef/mixin/convert_to_class_name'
-require 'chef/dsl/recipe'
require 'chef/mixin/enforce_ownership_and_permissions'
require 'chef/mixin/why_run'
require 'chef/mixin/shell_out'
class Chef
class Provider
- include Chef::DSL::Recipe
include Chef::Mixin::WhyRun
include Chef::Mixin::ShellOut