salt-states/containers/unpoller.sls

21 lines
435 B
Plaintext
Raw Normal View History

2023-06-27 07:16:37 +00:00
{% from 'lib.sls' import container_deploy with context %}
create config directory for unpoller:
file.directory:
- name: /srv/unpoller
- user: root
- group: root
- mode: "0750"
create unpoller config:
file.managed:
- name: /srv/unpoller/up.conf
- source: salt://containers/files/unpoller.conf
- template: jinja
- user: root
- group: root
- mode: "0640"
{{ container_deploy('unpoller') }}