summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-02-21 15:29:31 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-02-21 15:29:31 -0800
commit7c963bed74710eff280eba5a151a841530677a0b (patch)
treec2b1417f25a763d86cadf07f536fb3d01aa17420
parent2eaab99dbbf55b8b9f1f47c67807b85167a02488 (diff)
downloadchef-lcg/chef-14-lazy-module-include.tar.gz
Chef-14: add lazy module include to universal DSLlcg/chef-14-lazy-module-include
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/dsl/universal.rb4
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