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:
|
||||
- salt.minion
|
||||
{% if salt['pillar.get']('hypervisor:nodes', {} ) %}
|
||||
- salt.cloud
|
||||
{% endif %}
|
||||
|
||||
hold_salt_master_package:
|
||||
module.run:
|
||||
|
||||
@@ -37,12 +37,14 @@ install_salt_minion:
|
||||
{% endif %}
|
||||
|
||||
{% if INSTALLEDSALTVERSION|string == SALTVERSION|string %}
|
||||
|
||||
# only hold the package if it is already installed
|
||||
hold_salt_packages:
|
||||
pkg.held:
|
||||
- pkgs:
|
||||
{% for package in SALTPACKAGES %}
|
||||
{% if salt['pkg.version'](package) %}
|
||||
- {{ package }}: {{SALTVERSION}}-0.*
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
remove_error_log_level_logfile:
|
||||
|
||||
Reference in New Issue
Block a user