summaryrefslogtreecommitdiff
path: root/lib/chef/shell_out.rb
blob: 54ff718e8e874110e62c1b2e426b727afe543386 (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