Sha256: 6308db7730720a5ec4a9776555adb653d4ebf42c17b6487089490ce2876828dc

Contents?: true

Size: 916 Bytes

Versions: 448

Compression:

Stored size: 916 Bytes

Contents

class Chef
  class Sandbox
    # I DO NOTHING!!

    # So, the reason we have a completely empty class here is so that
    # Chef 11 clients do not choke when interacting with Chef 10
    # servers.  The original Chef::Sandbox class (that actually did
    # things) has been removed since its functionality is no longer
    # needed for Chef 11.  However, since we still use the JSON gem
    # and make use of its "auto-inflation" of classes (driven by the
    # contents of the 'json_class' key in all of our JSON), any
    # sandbox responses from a Chef 10 server to a Chef 11 client
    # would cause knife to crash.  The JSON gem would attempt to
    # auto-inflate based on a "json_class": "Chef::Sandbox" hash
    # entry, but would not be able to find a Chef::Sandbox class!
    #
    # This is a workaround until such time as we can completely remove
    # the reliance on the "json_class" field.
  end
end

Version data entries

448 entries across 448 versions & 2 rubygems

Version Path
chef-18.6.2-universal-mingw-ucrt lib/chef/sandbox.rb
chef-18.6.2 lib/chef/sandbox.rb
chef-17.10.163-universal-mingw32 lib/chef/sandbox.rb
chef-17.10.163 lib/chef/sandbox.rb
chef-18.5.0-x64-mingw-ucrt lib/chef/sandbox.rb
chef-18.5.0 lib/chef/sandbox.rb
chef-18.4.12-x64-mingw-ucrt lib/chef/sandbox.rb
chef-18.4.12 lib/chef/sandbox.rb
chef-17.10.122-universal-mingw32 lib/chef/sandbox.rb
chef-17.10.122 lib/chef/sandbox.rb
chef-17.10.114-universal-mingw32 lib/chef/sandbox.rb
chef-17.10.114 lib/chef/sandbox.rb
chef-18.4.2-x64-mingw-ucrt lib/chef/sandbox.rb
chef-18.4.2 lib/chef/sandbox.rb
chef-17.10.95-universal-mingw32 lib/chef/sandbox.rb
chef-17.10.95 lib/chef/sandbox.rb
chef-18.3.0-x64-mingw-ucrt lib/chef/sandbox.rb
chef-18.3.0 lib/chef/sandbox.rb
chef-17.10.68-universal-mingw32 lib/chef/sandbox.rb
chef-18.2.7-x64-mingw-ucrt lib/chef/sandbox.rb