Chef infra 使用Chef infra客户端卸载软件时,10分43秒后失败
使用Chef infra客户端卸载软件时,10分43秒后失败。 我正在获取Mixlib::ShellOut::ShellCommandFailed:windows\u程序包错误 下面是我试图执行的代码Chef infra 使用Chef infra客户端卸载软件时,10分43秒后失败,chef-infra,Chef Infra,使用Chef infra客户端卸载软件时,10分43秒后失败。 我正在获取Mixlib::ShellOut::ShellCommandFailed:windows\u程序包错误 下面是我试图执行的代码 windows_package 'SDL Tridion Sites 9.5' do action :remove options '-s' notifies :reboot_now, 'reboot[user created now reboot
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
有人能帮我吗?我对“SDL Tridion Sites 9.5”了解不多,但您是否尝试过传递
options'-s-uninstall'
?谢谢seshadri,我尝试过-s选项-它不起作用。但您未尝试上述选项“-s-卸载”。我会试试看。