salt-states/containers/mosquitto.sls

18 lines
370 B
Plaintext
Raw Permalink Normal View History

2023-06-27 07:16:37 +00:00
{% from 'lib.sls' import container_deploy with context %}
Create mosquitto configuration directory:
file.directory:
- name: /etc/mosquitto
- user: 1883
- group: 1883
- mode: "0750"
Create mosquitto data directory:
file.directory:
- name: /srv/mosquitto
- user: 1883
- group: 1883
- mode: "0750"
{{ container_deploy('mosquitto') }}