diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-21 11:54:04 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-21 13:53:29 -0700 |
commit | aa2241ab17bc131c80f358f87006099fb108fb04 (patch) | |
tree | 2e827cb0b52f11ea2a9805c7439894b2c1d558e3 /lib/chef/provider.rb | |
parent | a3f7e9cd52e8901cbfc5dfa3d93c032dec2ddb7e (diff) | |
download | chef-aa2241ab17bc131c80f358f87006099fb108fb04.tar.gz |
allow use_inline_resources for core chef providers
* removes the DSL from InlineResources class
* ActionClass is now responsible for mixing the DSL into
action classes
* apt_update provider converted over to use new syntax
- does not need to mixin DeclareResource DSL
- declares use_inline_resources
- uses declare_resource instead of build_resource
- converts def action_stuff to action :stuff
- uses an execute resource instead of shell_out!
- does not need the converge_by to update the action
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r-- | lib/chef/provider.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb index cef95a4db8..ebabb7b9eb 100644 --- a/lib/chef/provider.rb +++ b/lib/chef/provider.rb @@ -390,9 +390,6 @@ class Chef end end end - - require "chef/dsl/recipe" - include Chef::DSL::Recipe end protected |