updated salt_minion state
This commit is contained in:
parent
bf390e9304
commit
e48d110f05
@ -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:
|
salt-minion-config:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/salt/minion
|
- name: /etc/salt/minion
|
||||||
@ -9,7 +9,7 @@ salt-minion-config:
|
|||||||
- group: root
|
- group: root
|
||||||
- mode: 640
|
- mode: 640
|
||||||
|
|
||||||
salt-minion-service:
|
salt-minion-service-file:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/systemd/system/salt-minion.service
|
- name: /etc/systemd/system/salt-minion.service
|
||||||
- source: salt://salt_minion/salt-minion.service.j2
|
- source: salt://salt_minion/salt-minion.service.j2
|
||||||
@ -17,3 +17,8 @@ salt-minion-service:
|
|||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: 644
|
- mode: 644
|
||||||
|
|
||||||
|
salt-minion-service:
|
||||||
|
service.running:
|
||||||
|
- name: salt-minion
|
||||||
|
- enable: True
|
||||||
|
Loading…
Reference in New Issue
Block a user