Fix for install error

This commit is contained in:
William Wernert
2020-01-27 15:18:26 -05:00
parent 67eda42c78
commit f22e5eb649

View File

@@ -1,6 +1,6 @@
{%- set MASTERIP = salt['pillar.get']('static:masterip', '') %} {%- set MASTERIP = salt['pillar.get']('static:masterip', '') %}
#!/bin/bash #!/bin/bash
#
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC # Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
@@ -27,7 +27,7 @@ if grep -q -R "wazuh: 1" /opt/so/saltstack/pillar/*; then
echo "Added whitelist entry for {{ MASTERIP }} in $WAZUH_MGR_CFG." echo "Added whitelist entry for {{ MASTERIP }} in $WAZUH_MGR_CFG."
echo echo
echo "Restarting OSSEC Server..." echo "Restarting OSSEC Server..."
/usr/sbin/so-wazuh-restart # /usr/sbin/so-wazuh-restart
fi fi
fi fi