mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
14 lines
458 B
Plaintext
14 lines
458 B
Plaintext
{%- set FLEETMASTER = salt['pillar.get']('static:fleet_master', False) -%}
|
|
{%- set FLEETNODE = salt['pillar.get']('static:fleet_node', False) -%}
|
|
|
|
{%- if FLEETMASTER or FLEETNODE %}
|
|
launcherpkg:
|
|
pkg.installed:
|
|
- sources:
|
|
{% if grains['os'] == 'CentOS' %}
|
|
- launcher-final: salt://fleet/packages/launcher.rpm
|
|
{% elif grains['os'] == 'Ubuntu' %}
|
|
- launcher-final: salt://fleet/packages/launcher.deb
|
|
{% endif %}
|
|
{%- endif %}
|