| Bolt doesn't work if the remote user's shell is fish (probably any non-bourne shell):
{ |
"target": "host1", |
"action": "task", |
"object": "puppet_agent::install", |
"status": "failure", |
"result": { |
"_output": "", |
"_error": { |
"kind": "puppetlabs.tasks/task-error", |
"issue_code": "TASK_ERROR", |
"msg": "The task failed with exit code 127:\nfish: Unsupported use of '='. To run 'PT__boltdir=/Users/ajf/git/homebolt' with a modified environment, please use 'env PT_stop_service=true PT__boltdir=/Users/ajf/git/homebolt…'\nPT_stop_service=true PT__boltdir=/Users/ajf/git/homebolt PT__task=puppet_agent::install PT__installdir=/tmp/6ebeeb68-cd64-478e-8cec-0586cbed99bb sudo -S -H -u root -p \\[sudo\\]\\ Bolt\\ needs\\ to\\ run\\ as\\ another\\ user,\\ password:\\ -E sh -c 'cd && /tmp/6ebeeb68-cd64-478e-8cec-0586cbed99bb/puppet_agent/tasks/install_shell.sh'\n^\n", |
"details": { |
"exit_code": 127 |
} |
} |
}, |
"node": "host1" |
}
|
|