You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task fails with no descriptive error if tar isn't installed on target host.
Expected Behavior
The task should fail, but report that tar is missing from the target machine. At the moment its hard to tell why the task is failing to install Puppet.
Steps to Reproduce
Try to install on a host without tar present. For example I discovered this running against a minimal installation of Centos 8.2. This didn't have tar included by default.
Environment
Version 2.1.0
Platform [All Nix]
Additional Context
Example error from bolt when running against a host without tar.
Started on ip-172-31-18-87.ap-southeast-2.compute.internal...
Failed on ip-172-31-18-87.ap-southeast-2.compute.internal:
The task failed with exit code 1
bulk downloading plugins
extracting plugins
Failed to run install.bash
Failed on 1 target: ip-172-31-18-87.ap-southeast-2.compute.internal
Ran on 1 target in 1.35 sec
If you log on the host directly and run the install.bash located under /tmp, you receive the error.
[root@ip-172-31-18-87 tmp]# bash install.bash
bulk downloading plugins
extracting plugins
install.bash: line 477: tar: command not found
This error is not visible when running via the bolt task.
The text was updated successfully, but these errors were encountered:
Describe the Bug
Task fails with no descriptive error if tar isn't installed on target host.
Expected Behavior
The task should fail, but report that tar is missing from the target machine. At the moment its hard to tell why the task is failing to install Puppet.
Steps to Reproduce
Try to install on a host without tar present. For example I discovered this running against a minimal installation of Centos 8.2. This didn't have tar included by default.
Environment
Additional Context
Example error from bolt when running against a host without tar.
Started on ip-172-31-18-87.ap-southeast-2.compute.internal...
Failed on ip-172-31-18-87.ap-southeast-2.compute.internal:
The task failed with exit code 1
bulk downloading plugins
extracting plugins
Failed to run install.bash
Failed on 1 target: ip-172-31-18-87.ap-southeast-2.compute.internal
Ran on 1 target in 1.35 sec
If you log on the host directly and run the install.bash located under /tmp, you receive the error.
[root@ip-172-31-18-87 tmp]# bash install.bash
bulk downloading plugins
extracting plugins
install.bash: line 477: tar: command not found
This error is not visible when running via the bolt task.
The text was updated successfully, but these errors were encountered: