mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 22:12:48 +01:00
12 lines
259 B
Plaintext
12 lines
259 B
Plaintext
{% set show_top = salt['state.show_top']() %}
|
|
{% set top_states = show_top.values() | join(', ') %}
|
|
|
|
{% if 'motd' in top_states %}
|
|
|
|
so_motd:
|
|
file.managed:
|
|
- name: /etc/motd
|
|
- source: salt://motd/files/so_motd.jinja
|
|
- template: jinja
|
|
|
|
{% endif %} |