Sha256: 0e4eebb7c87b7ab132b10f0611ac487745c30dbbeb6faab385b530fbc7160ff5

Contents?: true

Size: 936 Bytes

Versions: 38

Compression:

Stored size: 936 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

38 entries across 38 versions & 1 rubygems

Version Path
chef-14.13.11-universal-mingw32 lib/chef/sandbox.rb
chef-15.0.300-universal-mingw32 lib/chef/sandbox.rb
chef-15.0.298-universal-mingw32 lib/chef/sandbox.rb
chef-15.0.293-universal-mingw32 lib/chef/sandbox.rb
chef-14.12.9-universal-mingw32 lib/chef/sandbox.rb
chef-14.12.3-universal-mingw32 lib/chef/sandbox.rb
chef-13.12.14-universal-mingw32 lib/chef/sandbox.rb
chef-14.11.21-universal-mingw32 lib/chef/sandbox.rb
chef-14.10.9-universal-mingw32 lib/chef/sandbox.rb
chef-14.9.13-universal-mingw32 lib/chef/sandbox.rb
chef-14.8.12-universal-mingw32 lib/chef/sandbox.rb
chef-14.7.17-universal-mingw32 lib/chef/sandbox.rb
chef-13.12.3-universal-mingw32 lib/chef/sandbox.rb
chef-14.6.47-universal-mingw32 lib/chef/sandbox.rb
chef-13.11.3-universal-mingw32 lib/chef/sandbox.rb
chef-14.5.33-universal-mingw32 lib/chef/sandbox.rb
chef-13.10.4-universal-mingw32 lib/chef/sandbox.rb
chef-14.3.37-universal-mingw32 lib/chef/sandbox.rb
chef-13.10.0-universal-mingw32 lib/chef/sandbox.rb
chef-13.9.4-universal-mingw32 lib/chef/sandbox.rb