summaryrefslogtreecommitdiff
path: root/lib/chef/dsl/resources.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-11-02 19:56:00 -0700
committerTim Smith <tsmith@chef.io>2018-11-02 19:56:00 -0700
commited3ab5991d6d76acb814115e0d75e7b31be8257d (patch)
tree4b29d30f072a650b4ecc8154e5a9d722802b6be1 /lib/chef/dsl/resources.rb
parentbab2c55cd1566c28981d3ffd89326215f15c5fb4 (diff)
downloadchef-ed3ab5991d6d76acb814115e0d75e7b31be8257d.tar.gz
Remove Chef provisioning lazy loadingprovisioning
Remove the lazy loading of chef provisioning resources Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/dsl/resources.rb')
-rw-r--r--lib/chef/dsl/resources.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/chef/dsl/resources.rb b/lib/chef/dsl/resources.rb
index 638e626ae2..9010edc5f7 100644
--- a/lib/chef/dsl/resources.rb
+++ b/lib/chef/dsl/resources.rb
@@ -1,6 +1,6 @@
#
# Author:: John Keiser <jkeiser@chef.io>
-# Copyright:: Copyright 2015-2017, Chef Software Inc.
+# Copyright:: Copyright 2015-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,7 +16,6 @@
# limitations under the License.
require "chef/dsl/cheffish"
-require "chef/dsl/chef_provisioning"
class Chef
module DSL
@@ -27,10 +26,9 @@ class Chef
#
# @api private
module Resources
- # Include the lazy loaders for cheffish and chef-provisioning, so that the
- # resource DSL is there but the gems aren't activated yet.
+ # Include the lazy loader for cheffish, so that the
+ # resource DSL is there but the gem isn't activated yet.
include Chef::DSL::Cheffish
- include Chef::DSL::ChefProvisioning
def self.add_resource_dsl(dsl_name)
module_eval(<<-EOM, __FILE__, __LINE__ + 1)