updated motd state

This commit is contained in:
Paul 2021-12-12 10:45:57 +01:00
parent 02e8b375b2
commit fdb393ba42

View File

@ -3,6 +3,12 @@ motd-pkg:
pkg.latest:
- name: figlet
{% if salt["file.is_link"]("/etc/motd") %}
motd-file-link-delete:
file.absent:
- name: /etc/motd
{% endif %}
motd-file:
file.managed:
- name: /etc/motd