commit | 6df26123d3950c16ade8fd95534ffa1b1baa9a5e | [log] [tgz] |
---|---|---|
author | Filip Pytloun <filip@pytloun.cz> | Mon Nov 06 14:30:16 2017 +0100 |
committer | Filip Pytloun <filip@pytloun.cz> | Mon Nov 06 14:30:16 2017 +0100 |
tree | e78ed4c482c8049a71d2ee5fa28d07c65e9850a6 | |
parent | 36fc6df8bf897c606a7623d725d505ff50640bf2 [diff] |
Remove /etc/motd if we are using dynamic motd
diff --git a/linux/system/motd.sls b/linux/system/motd.sls index ea8d9ad..f6cdc47 100644 --- a/linux/system/motd.sls +++ b/linux/system/motd.sls
@@ -30,6 +30,9 @@ - repl: "/run/motd" {%- endif %} +/etc/motd: + file.absent + {%- for motd in system.motd %} {%- set motd_index = loop.index %}