paulbsd-salt/states/netbox/service.sls

14 lines
291 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
netbox-service-file:
file.managed:
- name: /etc/systemd/system/netbox.service
- source: salt://netbox/templates/netbox.service.j2
- template: jinja
- user: root
- group: root
- mode: 0755
netbox-service:
service.running:
- name: netbox
- enable: True