Require basic os-release states for motd
This commit is contained in:
parent
5f432e16c9
commit
6aa86cbd73
1 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
include:
|
||||||
|
- .base
|
||||||
|
- .bootloader
|
||||||
|
|
||||||
system_candy_motd:
|
system_candy_motd:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/motd
|
- 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') }}
|
OS_ISSUE_URL: {{ salt['cmd.shell']('grep -E ^BUG_REPORT_URL /etc/os-release | cut -d= -f2') }}
|
||||||
- user: root
|
- user: root
|
||||||
- group: root
|
- group: root
|
||||||
- mode: '0644'
|
- mode: '0644'
|
||||||
|
- require:
|
||||||
|
- system_base_os-release
|
||||||
|
- system_bootloader_os-release
|
Loading…
Reference in a new issue