Skip to content

Commit 0e4dee2

Browse files
committed
add find command to find pgpass for splunk 10.0 in a different location
1 parent 394a468 commit 0e4dee2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/splunkconf-backup-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ jobs:
317317
PGPASS_FILE="${SPLUNK_HOME}/var/packages/data/postgres/.pgpass"
318318
echo "Found .pgpass in packages/data/postgres directory"
319319
else
320+
docker exec --user ${SPLUNK_USER} splunk find /opt/splunk -name .pgpass 2>/dev/null || echo '❌ Error : No .pgpass found via find command '" || true
320321
echo "❌ ERROR No .pgpass file found"
321322
exit 1
322323
fi

0 commit comments

Comments
 (0)