Sha256: 26947892e5e3e783d2e2ebac49e49531e12a7a651607de5cd18fbb5f9d821f2a
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
# Make a wraper to chef10/11 "shef/shell" changes module ChefVault module Compat require 'chef/version' def extend_context_object(obj) if Chef::VERSION.to_i >= 11 require "chef/shell/ext" Shell::Extensions.extend_context_object(obj) else require 'chef/shef/ext' Shef::Extensions.extend_context_object(obj) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chef-vault-1.1.0 | lib/chef/knife/compat.rb |
chef-vault-1.0.1 | lib/chef/knife/compat.rb |