diff options
author | Tim Smith <tsmith@chef.io> | 2019-02-22 13:14:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 13:14:09 -0800 |
commit | 674134bcc4889ee0ac4f84a8b73697b82b7ccf15 (patch) | |
tree | c2b1417f25a763d86cadf07f536fb3d01aa17420 | |
parent | 2eaab99dbbf55b8b9f1f47c67807b85167a02488 (diff) | |
parent | 7c963bed74710eff280eba5a151a841530677a0b (diff) | |
download | chef-674134bcc4889ee0ac4f84a8b73697b82b7ccf15.tar.gz |
Merge pull request #8246 from chef/lcg/chef-14-lazy-module-include
Chef-14: add lazy module include to universal DSL
-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 f3b79b1d60..ffeb6583f4 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"); @@ -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 |