mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 01:02:46 +01:00
24 lines
499 B
Plaintext
24 lines
499 B
Plaintext
|
|
{# we only want this state to run it is CentOS #}
|
|
{% if grains.os == 'CentOS' %}
|
|
|
|
include:
|
|
- workstation.packages
|
|
|
|
graphical_target:
|
|
file.symlink:
|
|
- name: /etc/systemd/system/default.target
|
|
- target: /lib/systemd/system/graphical.target
|
|
- force: True
|
|
- require:
|
|
- pkg: X Window System
|
|
- pkg: graphical_extras
|
|
|
|
{% else %}
|
|
|
|
workstation_xwindows_os_fail:
|
|
test.fail_without_changes:
|
|
- comment: 'SO Analyst Workstation can only be installed on CentOS'
|
|
|
|
{% endif %}
|