且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用PyChef进行“刀客户端删除"和“刀客户端创建"?

更新时间:2022-05-29 21:28:50

from chef import autoconfigure, Client
api = autoconfigure()
Client.delete('notcool.my.com')
Client.create('cool.my.com')