首页 > 解决方案 > 使用 Chef infra 客户端卸载软件时 10 分 43 秒后失败

问题描述

使用 Chef infra 客户端卸载软件时,10 分 43 秒后失败。我收到 Mixlib::ShellOut::ShellCommandFailed : windows_package 错误。

这是我要执行的代码

windows_package 'SDL Tridion Sites 9.5' do
   action :remove
   options '-s'                
   notifies :reboot_now, 'reboot[user created now reboot requested]', :immediately
 end

 reboot 'user created now reboot requested' do
   action :nothing
   reason 'Chef will continue after reboot user added' 
 end

任何人都可以帮助我吗?

标签: chef-infra

解决方案


推荐阅读