mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
ensure bootstrap-salt is updated for salt-cloud installs
This commit is contained in:
@@ -5,6 +5,7 @@ saltpymodules:
|
|||||||
- python3-docker
|
- python3-docker
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
# distribute to minions for salt upgrades
|
||||||
salt_bootstrap:
|
salt_bootstrap:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /usr/sbin/bootstrap-salt.sh
|
- name: /usr/sbin/bootstrap-salt.sh
|
||||||
|
|||||||
@@ -76,6 +76,13 @@ engines_config:
|
|||||||
- name: /etc/salt/master.d/engines.conf
|
- name: /etc/salt/master.d/engines.conf
|
||||||
- source: salt://salt/files/engines.conf
|
- source: salt://salt/files/engines.conf
|
||||||
|
|
||||||
|
# update the bootstrap script when used for salt-cloud
|
||||||
|
salt_bootstrap_cloud:
|
||||||
|
file.managed:
|
||||||
|
- name: /opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/deploy/bootstrap-salt.sh
|
||||||
|
- source: salt://salt/scripts/bootstrap-salt.sh
|
||||||
|
- show_changes: False
|
||||||
|
|
||||||
salt_master_service:
|
salt_master_service:
|
||||||
service.running:
|
service.running:
|
||||||
- name: salt-master
|
- name: salt-master
|
||||||
|
|||||||
Reference in New Issue
Block a user