Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use full path on commands #253

Merged
merged 1 commit into from
Sep 24, 2015
Merged

use full path on commands #253

merged 1 commit into from
Sep 24, 2015

Conversation

skpy
Copy link

@skpy skpy commented Sep 24, 2015

On a RHEL7 host, this module fails to install pip with the following Hiera settings:

python::pip: present
python::provider: 'pip'
python::use_epel: false

The errors are:

==> g2: Error: Parameter unless failed on Exec[bootstrap pip]: 'which pip' is not qualified and no path was specified. Please qualify the command or specify a path. at /tmp/vagrant-puppet/modules-748e6aae0e9d5fc067b3ca7dd8f9d74d/python/manifests/install.pp:75

and

==> g2: Error: Validation of Exec[bootstrap pip] failed: 'curl https://bootstrap.pypa.io/get-pip.py | python' is not qualified and no path was specified. Please qualify the command or specify a path. at /tmp/vagrant-puppet/modules-748e6aae0e9d5fc067b3ca7dd8f9d74d/python/manifests/install.pp:75

This PR simply puts the full path to the executables, which resolves the errors.

shivapoudel pushed a commit that referenced this pull request Sep 24, 2015
use full path on commands
@shivapoudel shivapoudel merged commit 2f17c2e into voxpupuli:master Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants