summaryrefslogtreecommitdiff
path: root/lib/chef/knife/yaml_convert.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/yaml_convert.rb')
-rw-r--r--lib/chef/knife/yaml_convert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/yaml_convert.rb b/lib/chef/knife/yaml_convert.rb
index ff64f5c53a..6bd2d1c0ea 100644
--- a/lib/chef/knife/yaml_convert.rb
+++ b/lib/chef/knife/yaml_convert.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "yaml" unless defined?(YAML)
+autoload :YAML, "yaml"
require_relative "../knife"
class Chef::Knife::YamlConvert < Chef::Knife