From 6aa86cbd732f76edf091299b3deb30c8d9cdb171 Mon Sep 17 00:00:00 2001 From: LinuxSquare <7436714-OfficialLinuxSquare@users.noreply.gitlab.com> Date: Sat, 30 Sep 2023 11:55:03 +0200 Subject: [PATCH] Require basic os-release states for motd --- system/candy.sls | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/system/candy.sls b/system/candy.sls index 9bf39df..b23917b 100644 --- a/system/candy.sls +++ b/system/candy.sls @@ -1,3 +1,7 @@ +include: + - .base + - .bootloader + system_candy_motd: file.managed: - name: /etc/motd @@ -9,4 +13,7 @@ system_candy_motd: OS_ISSUE_URL: {{ salt['cmd.shell']('grep -E ^BUG_REPORT_URL /etc/os-release | cut -d= -f2') }} - user: root - group: root - - mode: '0644' \ No newline at end of file + - mode: '0644' + - require: + - system_base_os-release + - system_bootloader_os-release \ No newline at end of file