mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Add gui
This commit is contained in:
@@ -45,9 +45,6 @@ desktop_packages:
|
|||||||
- chkconfig
|
- chkconfig
|
||||||
- chromium
|
- chromium
|
||||||
- chrony
|
- chrony
|
||||||
- cinnamon
|
|
||||||
- cinnamon-control-center
|
|
||||||
- cinnamon-screensaver
|
|
||||||
- cockpit
|
- cockpit
|
||||||
- coreutils
|
- coreutils
|
||||||
- cpio
|
- cpio
|
||||||
@@ -76,18 +73,43 @@ desktop_packages:
|
|||||||
- efivar-libs
|
- efivar-libs
|
||||||
- eom
|
- eom
|
||||||
- ethtool
|
- ethtool
|
||||||
- f36-backgrounds-extras-gnome
|
|
||||||
- f36-backgrounds-gnome
|
|
||||||
- f37-backgrounds-extras-gnome
|
|
||||||
- f37-backgrounds-gnome
|
|
||||||
- file
|
- file
|
||||||
- filesystem
|
- filesystem
|
||||||
- firewall-config
|
- firewall-config
|
||||||
- firewalld
|
- firewalld
|
||||||
- fprintd-pam
|
- fprintd-pam
|
||||||
|
- gdm
|
||||||
- git
|
- git
|
||||||
- glibc
|
- glibc
|
||||||
- glibc-all-langpacks
|
- glibc-all-langpacks
|
||||||
|
- gnome-autoar
|
||||||
|
- gnome-bluetooth
|
||||||
|
- gnome-bluetooth-libs
|
||||||
|
- gnome-calculator
|
||||||
|
- gnome-characters
|
||||||
|
- gnome-color-manager
|
||||||
|
- gnome-control-center
|
||||||
|
- gnome-desktop3
|
||||||
|
- gnome-disk-utility
|
||||||
|
- gnome-font-viewer
|
||||||
|
- gnome-initial-setup
|
||||||
|
- gnome-keyring
|
||||||
|
- gnome-keyring-pam
|
||||||
|
- gnome-logs
|
||||||
|
- gnome-menus
|
||||||
|
- gnome-online-accounts
|
||||||
|
- gnome-remote-desktop
|
||||||
|
- gnome-screenshot
|
||||||
|
- gnome-session
|
||||||
|
- gnome-session-wayland-session
|
||||||
|
- gnome-session-xsession
|
||||||
|
- gnome-settings-daemon
|
||||||
|
- gnome-shell
|
||||||
|
- gnome-software
|
||||||
|
- gnome-system-monitor
|
||||||
|
- gnome-terminal
|
||||||
|
- gnome-terminal-nautilus
|
||||||
|
- gnome-tour
|
||||||
- gnome-calculator
|
- gnome-calculator
|
||||||
- gnome-disk-utility
|
- gnome-disk-utility
|
||||||
- gnome-screenshot
|
- gnome-screenshot
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||||
|
|
||||||
{# we only want this state to run it is CentOS #}
|
{# we only want this state to run it is CentOS #}
|
||||||
{% if GLOBALS.os == 'Rocky' %}
|
{% if GLOBALS.os == 'OEL' %}
|
||||||
|
|
||||||
remove_graphical_target:
|
remove_graphical_target:
|
||||||
file.symlink:
|
file.symlink:
|
||||||
@@ -12,6 +12,6 @@ remove_graphical_target:
|
|||||||
{% else %}
|
{% else %}
|
||||||
desktop_trusted-ca_os_fail:
|
desktop_trusted-ca_os_fail:
|
||||||
test.fail_without_changes:
|
test.fail_without_changes:
|
||||||
- comment: 'SO Desktop can only be installed on Rocky'
|
- comment: 'SO Desktop can only be installed on Oracle Linux'
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,33 +1,7 @@
|
|||||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||||
|
|
||||||
{# we only want this state to run it is CentOS #}
|
{# we only want this state to run it is CentOS #}
|
||||||
{% if GLOBALS.os == 'Rocky' %}
|
{% if GLOBALS.os == 'OEL' %}
|
||||||
|
|
||||||
{% set global_ca_text = [] %}
|
|
||||||
{% set global_ca_server = [] %}
|
|
||||||
{% set manager = GLOBALS.manager %}
|
|
||||||
{% set x509dict = salt['mine.get'](manager | lower~'*', 'x509.get_pem_entries') %}
|
|
||||||
{% for host in x509dict %}
|
|
||||||
{% if host.split('_')|last in ['manager', 'managersearch', 'standalone', 'import', 'eval'] %}
|
|
||||||
{% do global_ca_text.append(x509dict[host].get('/etc/pki/ca.crt')|replace('\n', '')) %}
|
|
||||||
{% do global_ca_server.append(host) %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% set trusttheca_text = global_ca_text[0] %}
|
|
||||||
{% set ca_server = global_ca_server[0] %}
|
|
||||||
|
|
||||||
trusted_ca:
|
|
||||||
x509.pem_managed:
|
|
||||||
- name: /etc/pki/ca-trust/source/anchors/ca.crt
|
|
||||||
- text: {{ trusttheca_text }}
|
|
||||||
|
|
||||||
update_ca_certs:
|
|
||||||
cmd.run:
|
|
||||||
- name: update-ca-trust
|
|
||||||
- onchanges:
|
|
||||||
- x509: trusted_ca
|
|
||||||
|
|
||||||
{% elif GLOBALS.os == 'CentOS Stream' %}
|
|
||||||
|
|
||||||
{% set global_ca_text = [] %}
|
{% set global_ca_text = [] %}
|
||||||
{% set global_ca_server = [] %}
|
{% set global_ca_server = [] %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||||
|
|
||||||
{# we only want this state to run it is CentOS #}
|
{# we only want this state to run it is CentOS #}
|
||||||
{% if GLOBALS.os == 'Rocky' %}
|
{% if GLOBALS.os == 'OEL' %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- desktop.packages
|
- desktop.packages
|
||||||
@@ -18,6 +18,6 @@ graphical_target:
|
|||||||
|
|
||||||
desktop_xwindows_os_fail:
|
desktop_xwindows_os_fail:
|
||||||
test.fail_without_changes:
|
test.fail_without_changes:
|
||||||
- comment: 'SO Desktop can only be installed on Rocky'
|
- comment: 'SO Desktop can only be installed on Oracle Linux'
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user