Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Trying this...
- monit-service:
- service:
- - running
- - name: monit
- - enable: True
- - restart: True
- - require:
- - pkg: monit
- {% for file in files %}
- - file: /etc/monit.d/{{ file }}
- {%- endfor -%}
- - watch:
- {% for file in files %}
- - file: /etc/monit.d/{{ file }}
- {%- endfor -%}
- # Getting this...
- local:
- Data failed to compile:
- ----------
- Rendering SLS "base:service.monit" failed: Unknown yaml render error; line 19
- ---
- [...]
- - restart: True
- - require:
- - pkg: monit
- - file: /etc/monit.d/logging
- - file: /etc/monit.d/main- watch: <======================
- - file: /etc/monit.d/logging
- - file: /etc/monit.d/main
- ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement