[feat] Add message in setup and motd on where to access SOC

This commit is contained in:
William Wernert
2020-07-10 14:38:03 -04:00
parent c5eff1d89e
commit 72aa91b763
4 changed files with 27 additions and 8 deletions

View File

@@ -1,4 +1,9 @@
{% set needs_restarting_check = salt['mine.get']('*', 'needs_restarting.check', tgt_type='glob') -%}
{% set url = salt['pillar.get']('master:url_base') -%}
Access the Security Onion web interface at https://{{ url }}
(You may need to run so-allow first if you haven't yet)
{%- if needs_restarting_check %}
{%- set minions_need_restarted = [] %}

View File

@@ -1,5 +1,5 @@
package_update_reboot_required_motd:
so_motd:
file.managed:
- name: /etc/motd
- source: salt://motd/files/package_update_reboot_required.jinja
- source: salt://motd/files/so_motd.jinja
- template: jinja