Proceeding through the Hands-on workshop, one reaches this page: https://puppetlabs.github.io/bolt/lab/04-running-scripts/ Unfortunately, the link to the bash script points to a non-existant URL: curl -O https://puppetlabs.github.io/bolt/lessons/lesson1-10/src/bashcheck.sh And so one downloads a 404 HTML page without realizing there is an error. The rest of the exercise goes downhill quickly... $ curl -O https://puppetlabs.github.io/bolt/lessons/lesson1-10/src/bashcheck.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9339 100 9339 0 0 200k 0 -::- -::- -::- 202k $ bolt script run bashcheck.sh -n <nodes> Started on node2... Started on node3... Started on node1... Failed on node3: The command failed with exit code 2 STDERR: /tmp/aca9c3cb-84ab-4c84-ab89-d5453348913b/bashcheck.sh: line 1: syntax error near unexpected token `newline' /tmp/aca9c3cb-84ab-4c84-ab89-d5453348913b/bashcheck.sh: line 1: `<!DOCTYPE html>' Failed on node1: The command failed with exit code 2 STDERR: /tmp/adb88758-9f69-460b-978c-10438798e4ff/bashcheck.sh: line 1: syntax error near unexpected token `newline' /tmp/adb88758-9f69-460b-978c-10438798e4ff/bashcheck.sh: line 1: `<!DOCTYPE html>' Failed on node2: The command failed with exit code 2 STDERR: /tmp/0a0556a2-6b34-401c-8f8a-6f3be4775d3a/bashcheck.sh: line 1: syntax error near unexpected token `newline' /tmp/0a0556a2-6b34-401c-8f8a-6f3be4775d3a/bashcheck.sh: line 1: `<!DOCTYPE html>' Failed on 3 nodes: node1, node2, node3 Ran on 3 nodes in 3.42 seconds $ {{}} {{}} |