chef-infra - 使用 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
任何人都可以帮助我吗?
解决方案
推荐阅读
- css - 如何将此径向渐变背景更改为透明?
- f# - F# Fable Fetch 正确地将 Promise 解包到另一个 Promise 类型
- android - 没有权限
- php - 使用 Foreach 在数组中回显数组
- powershell - 如何在保留当前工作目录的同时提升 Powershell 并维护传递给脚本的所有参数?
- powerbi - 我可以制作一个仅显示同一 YTD 跨度中去年数据的 YoY 图表吗?
- amazon-web-services - 使用没有凭据的 spring-cloud-aws-message 来确认 SNS 订阅
- javascript - 如何检查字符串到对象数组的映射是否在对象中具有给定值?
- sql-server - 如何将 Microsoft SQL Server Management Studio 连接到 Jupyter Notebook?
- discord - 可以将传入的电子邮件转换为不和谐的嵌入信息吗?