Я установил salt-minion на машине Windows и сделал его masterless .
Где я храню файлы состояний, чтобы соль могла найти их.
Курс валюты, когда я сохраняю его в C: \ salt и запускаю salt-call state.sls test -l debug
, я получаю следующий журнал,
[DEBUG ] LazyLoaded roots.envs
[DEBUG ] Could not LazyLoad roots.init: 'roots.init' is not available.
[DEBUG ] Updating roots fileserver cache
[DEBUG ] Determining pillar cache
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[INFO ] Loading fresh modules for state activity
[DEBUG ] LazyLoaded jinja.render
[DEBUG ] LazyLoaded yaml.render
[DEBUG ] Could not find file 'salt://test.sls' in saltenv 'base'
[DEBUG ] Could not find file 'salt://test/init.sls' in saltenv 'base'
[DEBUG ] compile template: False
[ERROR ] Template was specified incorrectly: False
[DEBUG ] LazyLoaded highstate.output
local:
Data failed to compile:
----------
No matching sls found for 'test' in env 'base'