Sha256: 6013436a1407d598a480387e311bbc17599fce51fbe7f2e8e04cb8a62ea88c07

Contents?: true

Size: 1.69 KB

Versions: 23

Compression:

Stored size: 1.69 KB

Contents

#
# Copyright 2013-2015, 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
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'chef/recipe'
require 'chef/resource'
require 'chef/provider'

class Chef
  module Sugar
    require_relative 'sugar/architecture'
    require_relative 'sugar/cloud'
    require_relative 'sugar/constraints'
    require_relative 'sugar/constraints_dsl'
    require_relative 'sugar/data_bag'
    require_relative 'sugar/docker'
    require_relative 'sugar/filters'
    require_relative 'sugar/init'
    require_relative 'sugar/ip'
    require_relative 'sugar/kernel'
    require_relative 'sugar/kitchen'
    require_relative 'sugar/node'
    require_relative 'sugar/platform'
    require_relative 'sugar/platform_family'
    require_relative 'sugar/ruby'
    require_relative 'sugar/run_context'
    require_relative 'sugar/shell'
    require_relative 'sugar/vagrant'
    require_relative 'sugar/version'
    require_relative 'sugar/virtualization'
  end
end

Chef::Recipe.send(:include, Chef::Sugar::DSL)
Chef::Recipe.send(:include, Chef::Sugar::RecipeDSL) # TODO: this is a hack
Chef::Resource.send(:include, Chef::Sugar::DSL)
Chef::Provider.send(:include, Chef::Sugar::DSL)

Object.send(:include, Chef::Sugar::Kernel)

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
chef-sugar-ng-5.1.12 lib/chef/sugar.rb
chef-sugar-5.1.12 lib/chef/sugar.rb
chef-sugar-ng-5.1.11 lib/chef/sugar.rb
chef-sugar-5.1.11 lib/chef/sugar.rb
chef-sugar-sre-5.1.13 lib/chef/sugar.rb
chef-sugar-ng-5.1.9 lib/chef/sugar.rb
chef-sugar-5.1.9 lib/chef/sugar.rb
chef-sugar-ng-5.1.8 lib/chef/sugar.rb
chef-sugar-5.1.8 lib/chef/sugar.rb
chef-sugar-ng-4.2.2 lib/chef/sugar.rb
chef-sugar-ng-5.0.4 lib/chef/sugar.rb
chef-sugar-ng-5.0.3 lib/chef/sugar.rb
chef-sugar-ng-5.0.2 lib/chef/sugar.rb
chef-sugar-ng-5.0.1 lib/chef/sugar.rb
chef-sugar-5.0.1 lib/chef/sugar.rb
chef-sugar-5.0.0 lib/chef/sugar.rb
chef-sugar-4.2.1 lib/chef/sugar.rb
chef-sugar-4.2.0 lib/chef/sugar.rb
chef-sugar-4.1.0 lib/chef/sugar.rb
chef-sugar-4.0.1 lib/chef/sugar.rb