summaryrefslogtreecommitdiff
path: root/lib/chef/shell_out.rb
blob: 3febe366bdc158dcc0bfbd219465368ef3c4186a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'mixlib/shellout'

class Chef
  class ShellOut < Mixlib::ShellOut

    def initialize(*args)
      Chef::Log.warn("Chef::ShellOut is deprecated, please use Mixlib::ShellOut")
      called_from = caller[0..3].inject("Called from:\n") {|msg, trace_line| msg << "  #{trace_line}\n" }
      Chef::Log.warn(called_from)
      super
    end
  end
end