blob: bf6018df52205fbee6938808f482fe6d66966da6 (
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
|