updated salt_minion state

This commit is contained in:
Paul 2021-04-07 12:49:49 +02:00
parent bf390e9304
commit e48d110f05

View File

@ -1,5 +1,5 @@
---
{%- from "salt_minion/map.jinja" import salt_minion with context -%}
{%- from "salt_minion/map.jinja" import salt_minion with context %}
salt-minion-config:
file.managed:
- name: /etc/salt/minion
@ -9,7 +9,7 @@ salt-minion-config:
- group: root
- mode: 640
salt-minion-service:
salt-minion-service-file:
file.managed:
- name: /etc/systemd/system/salt-minion.service
- source: salt://salt_minion/salt-minion.service.j2
@ -17,3 +17,8 @@ salt-minion-service:
- user: root
- group: root
- mode: 644
salt-minion-service:
service.running:
- name: salt-minion
- enable: True