mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix mine_functions.conf
This commit is contained in:
@@ -97,7 +97,7 @@ salt_minion_service_unit_file:
|
|||||||
mine_functions:
|
mine_functions:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/salt/minion.d/mine_functions.conf
|
- name: /etc/salt/minion.d/mine_functions.conf
|
||||||
- source: salt://salt/etc/minion.d/mine_functions.conf
|
- source: salt://salt/etc/minion.d/mine_functions.conf.jinja
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- defaults:
|
- defaults:
|
||||||
GLOBALS: {{ GLOBALS }}
|
GLOBALS: {{ GLOBALS }}
|
||||||
|
|||||||
@@ -614,7 +614,7 @@ configure_minion() {
|
|||||||
"log_file: /opt/so/log/salt/minion" >> "$minion_config"
|
"log_file: /opt/so/log/salt/minion" >> "$minion_config"
|
||||||
|
|
||||||
cp -f ../salt/salt/etc/minion.d/mine_functions.conf /etc/salt/minion.d/mine_functions.conf
|
cp -f ../salt/salt/etc/minion.d/mine_functions.conf /etc/salt/minion.d/mine_functions.conf
|
||||||
sed -i "s/{{ pillar.host.mainint }}/$MAININT/" /etc/salt/minion.d/mine_functions.conf
|
sed -i "s/{{ GLOBALS.main_interface }}/$MAININT/" /etc/salt/minion.d/mine_functions.conf
|
||||||
|
|
||||||
{
|
{
|
||||||
systemctl restart salt-minion;
|
systemctl restart salt-minion;
|
||||||
|
|||||||
Reference in New Issue
Block a user