paulbsd-salt/states/etcd/service.sls
Paul Lecuq 934da68bb5
All checks were successful
continuous-integration/drone/push Build is passing
added etcd state
2023-09-02 17:20:54 +02:00

17 lines
363 B
Plaintext

---
{%- 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