0
我試圖在隔離的環境中創建一個win回購。Saltstack Windows軟件分發問題
在的/ etc /鹽/主我添加了行:
winrepo_dir_ng: repo
winrepo_insecure_auth: True
winrepo_cachefile: winrepo.p
在僕從配置文件(一個視窗僕從):
winrepo: salt-master://win/repo
winrepo_cachefile: 'c:/salt/repo/cache'
當然之後,我使用了以下命令:
salt-run winrepo.genrepo
返回SLS內容
salt '*' pkg.refresh_db
返回空行(應該是'true')。
當我嘗試"salt '*' pkg.install notepad"
返回"unable to locate package notepad".
我在哪裏錯了?