diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-04-08 15:11:30 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-04-11 13:25:02 -0700 |
commit | 9ed7d6a880749090403ee6d78d5592a4fa212343 (patch) | |
tree | e0c9e5300ea2c49d2da97009b9c04277a7d4e10d /lib/chef/dsl | |
parent | 224aaaef042659021eb65c9eeddd9cdb1417eb59 (diff) | |
download | chef-9ed7d6a880749090403ee6d78d5592a4fa212343.tar.gz |
add notifying_block and subcontext_block to chef
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r-- | lib/chef/dsl/core.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/chef/dsl/core.rb b/lib/chef/dsl/core.rb index 7f7edbfbda..c2dbea7628 100644 --- a/lib/chef/dsl/core.rb +++ b/lib/chef/dsl/core.rb @@ -17,15 +17,16 @@ # limitations under the License. # -require "chef/mixin/shell_out" -require "chef/mixin/powershell_out" require "chef/dsl/declare_resource" +require "chef/mixin/notifying_block" +require "chef/mixin/powershell_out" +require "chef/mixin/shell_out" class Chef module DSL # This is the "Core DSL" with various bits of Sugar that are mixed into core providers as well # as user LWRPs. This module deliberately does not mixin the Resources or Defintions DSL bits - # so that cookbooks are not injeting random things into the samespace of core providers. + # so that cookbooks are not injeting random things into the namespace of core providers. # # - If you are writing cookbooks: you have come to the wrong place, please inject things into # Chef::DSL::Recipe instead. @@ -34,9 +35,10 @@ class Chef # into here. # module Core - include Chef::Mixin::ShellOut - include Chef::Mixin::PowershellOut include Chef::DSL::DeclareResource + include Chef::Mixin::NotifyingBlock + include Chef::Mixin::PowershellOut + include Chef::Mixin::ShellOut end end end |