summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-02-20 13:58:20 -0800
committerGitHub <noreply@github.com>2019-02-20 13:58:20 -0800
commitb8fa34668d81cb801d2406430e7d9d963845a0a5 (patch)
tree6b119440449a1dc5135e31abe35bff0a59e3ac72
parent4f4d5b51dd199cb6e2d82fdf69d4b225321c9c58 (diff)
parente157da786c9cee5188bab8517348d7cb7618cdc4 (diff)
downloadchef-b8fa34668d81cb801d2406430e7d9d963845a0a5.tar.gz
Merge pull request #8243 from chef/lcg/lazy-universal
add LazyModuleInclude to Universal DSL
-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 0856012cbd..cb7e8591e8 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
def tagged?(*tags)
tags.each do |tag|