diff options
Diffstat (limited to 'lib/chef/dsl/universal.rb')
-rw-r--r-- | lib/chef/dsl/universal.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/chef/dsl/universal.rb b/lib/chef/dsl/universal.rb index cb7e8591e8..eb90acfa2c 100644 --- a/lib/chef/dsl/universal.rb +++ b/lib/chef/dsl/universal.rb @@ -18,6 +18,9 @@ # require "chef/dsl/platform_introspection" +require "chef/dsl/data_query" +require "chef/dsl/registry_helper" +require "chef/dsl/powershell" require "chef/mixin/powershell_exec" require "chef/mixin/powershell_out" require "chef/mixin/shell_out" @@ -45,17 +48,13 @@ class Chef # module Universal include Chef::DSL::PlatformIntrospection + include Chef::DSL::DataQuery + include Chef::DSL::RegistryHelper + include Chef::DSL::Powershell include Chef::Mixin::PowershellExec include Chef::Mixin::PowershellOut include Chef::Mixin::ShellOut extend Chef::Mixin::LazyModuleInclude - - def tagged?(*tags) - tags.each do |tag| - return false unless run_context.node.tags.include?(tag) - end - true - end end end end |