fix: move the fixing of the path to the package and not teh module

This commit is contained in:
silver 2025-09-02 10:38:54 +01:00
parent f8826c5d2f
commit b742a09c43
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 7 additions and 9 deletions

View file

@ -115,13 +115,6 @@ in {
mkdir -p $SPLUNK_HOME/etc/apps/000_ul_umbrio_essentials/local/
cp ${deployment_client} $SPLUNK_HOME/etc/apps/000_ul_umbrio_essentials/local/deploymentclient.conf
# Splunk is doing a crime by deciding what teh path is, need to comment out this line
# in /bin/pid_check.sh
# PATH=/usr/xpg4/bin:/usr/bin:/bin
# PATH=
sed -i -e 's/PATH=/#PATH=/g' ${cfg.user.home}/bin/pid_check.sh
# make sure user permissions are correct
chmod 771 -R ${cfg.user.home}
chown ${cfg.user.user}:${cfg.user.group} -R ${cfg.user.home}