Hello all,
I'm just starting with Salt, so please bear with me. I want to add some
files to an already managed directory and always get the "recursive
requisit" error.
An example:
File: jallah/init.sls
/opt/blah/jallah:
file.directory:
- file_mode: 0755
- dir_mode: 0750
- recurse:
- mode
- require:
- file: /opt/blah
File: jallah/script.sls
/opt/blah/jallah/script.sh:
file.managed:
- source: salt://jallah/files/script.sh
- mode: 0750
- require:
- sls: jallah
- require_in:
- service: jallah-service
I can see why this won't work. What would be a recommended way?
Sahlom and thanks, Shorty