paulbsd-salt/states/etcd/config.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

14 lines
292 B
Plaintext

---
{%- from "etcd/map.jinja" import etcd with context %}
etcd-config-dir:
file.directory:
- name: /etc/etcd
etcd-config:
file.managed:
- name: /etc/etcd/etcd.yml
- source: salt://etcd/templates/etcd.yml.j2
- template: jinja
- watch_in:
- service: etcd-service