我正在运行一个厨师食谱来安装 Websphere 修复包。修复包重新调整并退出代码 [2],用于部分安装。这是预期的行为,但厨师只是将其视为错误。有什么办法可以覆盖它。
我希望厨师继续下一个任务,即使返回退出代码是 [2]
================================================================================
Error executing action `run` on resource 'bash[was-install-fixpacks]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '2'