diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-02-20 09:45:12 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-02-20 09:45:12 -0800 |
commit | 3278f31f77c41c9b0723ad467e398d52281da65b (patch) | |
tree | 2c851cd27adae8584d57a439bf6cc04eb8e0ea4c /lib/chef/dsl | |
parent | 4f4d5b51dd199cb6e2d82fdf69d4b225321c9c58 (diff) | |
download | chef-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>
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r-- | lib/chef/dsl/universal.rb | 3 |
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| |