diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-02-21 15:29:31 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-02-21 15:31:23 -0800 |
commit | aaeb8fa8ebbd34ded110d95cbc373bfa7dc55839 (patch) | |
tree | 73ae0158716c7715a0b071236e3e47b5a8a1ef98 | |
parent | f324737667644ed8c1574ebb42ad639a5a3fc538 (diff) | |
download | chef-lcg/chef-13-lazy-module-include.tar.gz |
Chef-14: add lazy module include to universal DSLlcg/chef-13-lazy-module-include
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/dsl/universal.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/chef/dsl/universal.rb b/lib/chef/dsl/universal.rb index 6e3d162b6f..4e7568cfff 100644 --- a/lib/chef/dsl/universal.rb +++ b/lib/chef/dsl/universal.rb @@ -1,7 +1,7 @@ #-- # Author:: Adam Jacob (<adam@chef.io>) # Author:: Christopher Walters (<cw@chef.io>) -# Copyright:: Copyright 2008-2016 Chef Software, Inc. +# Copyright:: Copyright 2008-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -20,6 +20,7 @@ require "chef/dsl/platform_introspection" require "chef/mixin/powershell_out" require "chef/mixin/shell_out" +require "chef/mixin/lazy_module_include" class Chef module DSL @@ -45,6 +46,7 @@ class Chef include Chef::DSL::PlatformIntrospection include Chef::Mixin::PowershellOut include Chef::Mixin::ShellOut + extend Chef::Mixin::LazyModuleInclude end end end |