paulbsd-salt/states/systemd/system.sls
Paul f380ffb4a0
All checks were successful
continuous-integration/drone/push Build is passing
updated systemd state
2025-03-19 20:47:33 +01:00

17 lines
451 B
Plaintext

---
{%- from "systemd/map.jinja" import systemd with context %}
systemd-confdir-system:
file.directory:
- name: {{ systemd.confdir }}/system.conf.d/
systemd-configfile-system:
file.managed:
- name: {{ systemd.confdir }}/system.conf.d/custom.conf
- source: salt://systemd/templates/systemd_custom.conf.j2
- template: jinja
- user: root
- group: root
- mode: 0644
- context:
settings: {{ systemd.settings }}