我在localhost上运行master和minion
这是我的错误
sudo salt-call state.highstate -l debug
[DEBUG ] Loaded upstart as virtual service
[DEBUG ] Loaded useradd as virtual user
[DEBUG ] Loaded dpkg as virtual lowpkg
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] Loaded cmdmod as virtual cmd
[DEBUG ] Loaded virtualenv_mod as virtual virtualenv
[DEBUG ] Loaded djangomod as virtual django
[DEBUG ] Loaded saltmod as virtual salt
[DEBUG ] Loaded zcbuildout as virtual buildout
[DEBUG ] Loaded debconfmod as virtual debconf
[DEBUG ] Loaded virtualenv_mod as virtual virtualenv
[DEBUG ] MinionEvent PUB socket URI: ipc:///var/run/salt/minion/minion_event_1d41c853af58d3a7ae54990ce29417d8_pub.ipc
[DEBUG ] MinionEvent PULL socket URI: ipc:///var/run/salt/minion/minion_event_1d41c853af58d3a7ae54990ce29417d8_pull.ipc
[DEBUG ] Fetching file from saltenv 'base', ** attempting ** 'salt://ssh.sls'
[INFO ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://ssh/init.sls'
[DEBUG ] Loaded no_out as virtual quiet
[DEBUG ] Loaded json_out as virtual json
[DEBUG ] Loaded yaml_out as virtual yaml
[DEBUG ] Loaded pprint_out as virtual pprint
local:
----------
ID: states
Function: no.None
Result: False
Comment: No states found for this minion
Changes:
Summary
------------
Succeeded: 0
Failed: 1
------------
Total: 1
这是我的top.sls
base:
'*':
- ssh
这是我的ssh / init.sls
openssh-client:
pkg.installed
/etc/ssh/ssh_config:
file.managed:
- user: root
- group: root
- mode: 644
- source: salt://ssh/ssh_config
- require:
- pkg: openssh-client
所以?这笔交易是什么?