Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我们当前的模型中,我们使用带有包装器 perl 脚本的 knife-vsphere 插件,该脚本本质上是用于循环 knife 结合 csv 文件来大规模部署 VM 列表。我想知道策略文件是否可以实现这样的工作流程?
Policyfiles 通常假定您使用的是 Chef Server,工作流中对使用 chef-solo 的支持最少。您可以使用该chef export -a功能生成策略存档,然后通过 SFTP 传输它们或将它们托管在某处的内部 Web 服务器上。总体上“可行但没有记录,所以你靠自己”。
chef export -a