Skip to content
Browse files
Export PSSH (followup to #179)
Follow-up fix to export PSSH for agitator

The PSSH environment variable needs to be exported by bin/agitator so it
can be seen inside the libexec/ script.
  • Loading branch information
ctubbsii committed Jan 5, 2022
1 parent e74a1f5 commit 6a665e7a1c995c0f7f40aa1dfde29d515ed706fe
Showing 1 changed file with 3 additions and 2 deletions.
@@ -32,10 +32,11 @@ EOF

function start_agitator() {
## check that pssh is installed, falling back to parallel-ssh if needed
## make sure to export it, so it can be seen inside the agitator perl script
if hash pssh 2>/dev/null; then
export PSSH=pssh
elif hash parallel-ssh 2>/dev/null; then
export PSSH=parallel-ssh
echo >&2 "The agitator requires pssh/parallel-ssh to be installed. Aborting."; exit 1;

0 comments on commit 6a665e7

Please sign in to comment.