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

Patch to support Centos 7 in bootstrap #318

Merged
merged 1 commit into from
Aug 5, 2016

Conversation

asasfu
Copy link
Contributor

@asasfu asasfu commented Aug 4, 2016

Fixes Centos 7 Bootstrap loop, Issue #306

Bootstrapping currently repeats on every run due to the creates => '/usr/local/bin/pip'
Centos 7(and possibly others) which place pip executable in /usr/bin/pip
The repeated bootstrap needs to be patched to avoid nodes constantly grabbing the get_pip.py which includes a binary blob.

This patching looks to have been attempted before but failed to include path => .... which would support finding which in any of those locations as well as allowing which pip to only look in the supplied path, basically extending our creates to support multiple locations of pip.

Bootstrapping currently repeats on every run due to the `creates => '/usr/local/bin/pip'`
Centos 7(and possibly others) which place pip executable in /usr/bin/pip
The repeated bootstrap needs to be patched to avoid nodes constantly grabbing the get_pip.py which includes a binary blob.

This patching looks to have been attempted before but failed to include `path => ....` which would support finding `which` in any of those locations as well as allowing `which pip` to only look in the supplied path, basically extending our creates to support multiple locations of pip.
@shivapoudel shivapoudel merged commit 88ba5eb into voxpupuli:master Aug 5, 2016
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