salt-states/containers/mosquitto.sls
2023-06-27 09:16:37 +02:00

18 lines
370 B
Plaintext

{% 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') }}