天道酬勤,学无止境

pychef

如何使用 PyChef 进行“刀具客户端删除”和“刀具客户端创建”?(how to do 'knife client delete' and 'knife client create' using PyChef?)

问题 什么是等效的翻译: knife client delete notcool.my.com knife client create cool.my.com 在 PyChef 中? 回答1 from chef import autoconfigure, Client api = autoconfigure() Client.delete('notcool.my.com') Client.create('cool.my.com')

2021-10-20 03:54:04    分类:技术分享    python   chef-infra   pychef

how to do 'knife client delete' and 'knife client create' using PyChef?

What are the equivalent translations for: knife client delete notcool.my.com knife client create cool.my.com in PyChef?

2021-10-19 07:57:43    分类:问答    python   chef-infra   pychef