mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
handle salt-cloud package
This commit is contained in:
@@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
- salt.minion
|
- salt.minion
|
||||||
|
{% if salt['pillar.get']('hypervisor:nodes', {} ) %}
|
||||||
|
- salt.cloud
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
hold_salt_master_package:
|
hold_salt_master_package:
|
||||||
module.run:
|
module.run:
|
||||||
|
|||||||
@@ -37,13 +37,15 @@ install_salt_minion:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if INSTALLEDSALTVERSION|string == SALTVERSION|string %}
|
{% if INSTALLEDSALTVERSION|string == SALTVERSION|string %}
|
||||||
|
# only hold the package if it is already installed
|
||||||
hold_salt_packages:
|
hold_salt_packages:
|
||||||
pkg.held:
|
pkg.held:
|
||||||
- pkgs:
|
- pkgs:
|
||||||
{% for package in SALTPACKAGES %}
|
{% for package in SALTPACKAGES %}
|
||||||
|
{% if salt['pkg.version'](package) %}
|
||||||
- {{ package }}: {{SALTVERSION}}-0.*
|
- {{ package }}: {{SALTVERSION}}-0.*
|
||||||
{% endfor %}
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
remove_error_log_level_logfile:
|
remove_error_log_level_logfile:
|
||||||
file.line:
|
file.line:
|
||||||
|
|||||||
Reference in New Issue
Block a user