summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-02-20 09:45:12 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2019-02-20 09:45:12 -0800
commit3278f31f77c41c9b0723ad467e398d52281da65b (patch)
tree2c851cd27adae8584d57a439bf6cc04eb8e0ea4c
parent4f4d5b51dd199cb6e2d82fdf69d4b225321c9c58 (diff)
downloadchef-3278f31f77c41c9b0723ad467e398d52281da65b.tar.gz
add LazyModuleInclude to Universal DSL
somehow this was missed in #4942 which makes this DSL much less useful as a target. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/dsl/universal.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/dsl/universal.rb b/lib/chef/dsl/universal.rb
index 0856012cbd..bcdedc119e 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");
@@ -47,6 +47,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|