paulbsd-salt/states/etcd/config.sls

14 lines
292 B
Plaintext
Raw Normal View History

2023-09-02 17:20:54 +02:00
---
{%- 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