paulbsd-salt/states/etcd/service.sls

17 lines
363 B
Plaintext
Raw Normal View History

2023-09-02 17:20:54 +02:00
---
{%- from "etcd/map.jinja" import etcd with context %}
etcd-service-file:
file.managed:
- name: /etc/systemd/system/etcd.service
- source: salt://etcd/templates/etcd.service.j2
- user: root
- group: root
- template: jinja
- watch_in:
- service: etcd-service
etcd-service:
service.running:
- name: etcd
- enable: true