Open Vox1984 opened 5 years ago
So, this is sort of a bug, but also expected behavior. It's a bug, because it's kind of a useless error message.
You have:
create dummy file:
file.managed:
- tgt: 'target'
- name: /tmp/wojtek
- source: salt://role/ssc/files/cleanup.py
But that's not how reactors work. You wanted:
create dummy file:
local.state.single:
- tgt: target
- expr_form: list
- kwarg:
fun: file.managed
name: /tmp/wojtek
source: salt://role/ssc/files/cleanup.py
See https://github.com/saltstack/salt/issues/30028 for more info
Description of Issue
I have following very simple reactor.conf and when I trigger it with event from commandline it crashes with
As far I understand, correct sls is being used (as defined in reactor), then it is being read to OrderedDict, then it tries populate_client_cache and fails.
Setup
reactor.conf on master (/etc/salt/master.d/reactor.conf) it is the only reactor
cleanup.sls
Steps to Reproduce Issue
salt-master -l debug
on mastersalt-call event.send 'salt/beacon/ssc-001/diskusage/'
Versions Report