lib/chef/sugar.rb in chef-sugar-1.1.0 vs lib/chef/sugar.rb in chef-sugar-1.2.0.beta.1

- old
+ new

@@ -1,7 +1,7 @@ # -# Copyright 2013, Seth Vargo <sethvargo@gmail.com> +# Copyright 2013-2014, Seth Vargo <sethvargo@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # @@ -20,13 +20,15 @@ class Chef module Sugar require_relative 'sugar/architecture' require_relative 'sugar/cloud' + require_relative 'sugar/constraints' require_relative 'sugar/data_bag' require_relative 'sugar/filters' require_relative 'sugar/ip' + require_relative 'sugar/kernel' require_relative 'sugar/node' require_relative 'sugar/platform' require_relative 'sugar/platform_family' require_relative 'sugar/ruby' require_relative 'sugar/shell' @@ -36,5 +38,7 @@ end Chef::Recipe.send(:include, Chef::Sugar::DSL) Chef::Resource.send(:include, Chef::Sugar::DSL) Chef::Provider.send(:include, Chef::Sugar::DSL) + +Object.send(:include, Chef::Sugar::Kernel)