我正在尝试用盐加载我的流浪盒,要求它安装Apache。 我在无主模式下使用salty-vagrant。
流浪盒被加载,但它被卡在控制台中,并显示以下消息:
[default] Running provisioner: salt...
Checking if salt-minion is installed
salt-minion found
Checking if salt-call is installed
salt-call found
Salt did not need installing or configuring.
Calling state.highstate... (this may take a while)
当我检查流浪盐记录时,发现以下内容:
[salt.utils ][ERROR ] This master address: 'salt' was previously resolvable but now fails to resolve! The previously resolved ip addr will continue to be used
[salt.minion ][WARNING ] Master hostname: salt not found. Retrying in 30 seconds
以前有人遇到过这个问题吗?
答案 0 :(得分:1)
您需要确保使用以下选项集传递minion配置:
file_client: local
阅读Masterless Quick Start中的所有步骤:https://github.com/saltstack/salty-vagrant#masterless-quick-start