編寫saltstack 擴展模塊

編寫saltstack 擴展模塊 1. 在 Master上建立存放模塊的目錄: # mkdir -pv /srv/salt/_modules # cd /srv/salt/_modules 2. 在 Master上編寫 擴展模塊文件 : hello_module.py hello_module.py python #!/usr/bin/env python def say_hello():
相關文章
相關標籤/搜索