diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-20 15:22:32 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-20 15:22:32 -0800 |
commit | 13fe34683ae307e563be4acce004b2681b302ce4 (patch) | |
tree | a3b89623dfc8a84e550a81be5d61dd57b8478f01 /lib/chef/mixin | |
parent | 6f593e160180d226b840856776a284b6081f8424 (diff) | |
download | chef-13fe34683ae307e563be4acce004b2681b302ce4.tar.gz |
formally deprecate run_command
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/command.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/mixin/command.rb b/lib/chef/mixin/command.rb index 0cc3143ec7..269f1d1194 100644 --- a/lib/chef/mixin/command.rb +++ b/lib/chef/mixin/command.rb @@ -107,6 +107,7 @@ class Chef end def output_of_command(command, args) + Chef.deprecated(:run_command, "Chef::Mixin::Command.run_command is deprecated, please use shell_out") Chef::Log.debug("Executing #{command}") stderr_string, stdout_string, status = "", "", nil |