added warning about installing and ensure can only install workstation on centos

This commit is contained in:
m0duspwnens
2022-04-13 13:39:48 -04:00
parent 6477e6c5a2
commit 3ee09db752
5 changed files with 54 additions and 9 deletions
+11
View File
@@ -1,3 +1,6 @@
{# we only want this state to run it is CentOS #}
{% if grains.os == 'CentOS' %}
xwindows_group:
pkg.group_installed:
- name: X Window System
@@ -45,3 +48,11 @@ workstation_packages:
- perl-Net-DNS
- securityonion-chaosreader
- securityonion-analyst-extras
{% else %}
workstation_packages_os_fail:
test.fail_without_changes:
- comment: 'SO Analyst Workstation can only be installed on CentOS'
{% endif %}