From 7c963bed74710eff280eba5a151a841530677a0b Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 21 Feb 2019 15:29:31 -0800 Subject: Chef-14: add lazy module include to universal DSL Signed-off-by: Lamont Granquist --- lib/chef/dsl/universal.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/chef/dsl/universal.rb b/lib/chef/dsl/universal.rb index f3b79b1d60..ffeb6583f4 100644 --- a/lib/chef/dsl/universal.rb +++ b/lib/chef/dsl/universal.rb @@ -1,7 +1,7 @@ #-- # Author:: Adam Jacob () # Author:: Christopher Walters () -# 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"); @@ -21,6 +21,7 @@ require "chef/dsl/platform_introspection" require "chef/mixin/powershell_exec" require "chef/mixin/powershell_out" require "chef/mixin/shell_out" +require "chef/mixin/lazy_module_include" class Chef module DSL @@ -47,6 +48,7 @@ class Chef include Chef::Mixin::PowershellExec include Chef::Mixin::PowershellOut include Chef::Mixin::ShellOut + extend Chef::Mixin::LazyModuleInclude end end end -- cgit v1.2.1