paulbsd-salt/states/micromdm/service.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

16 lines
365 B
Plaintext

---
{%- from "micromdm/map.jinja" import micromdm with context %}
micromdm-service-file:
file.managed:
- name: /etc/systemd/system/micromdm.service
- source: salt://micromdm/templates/micromdm.service.j2
- user: root
- group: root
- mode: 644
- template: jinja
micromdm-service:
service.running:
- name: micromdm
- enable: true