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

RHSCL Repository installation made optional #328

Merged
merged 3 commits into from Sep 9, 2016

Conversation

diLLec
Copy link

@diLLec diLLec commented Sep 9, 2016

Hi,

this proposal contains the following changes to puppet-python:

1.) add a switch to prevent the yum repository provisioning of SCL

  • the switch is useful if the repository is already configured independent of this module
  • we use the puppet-python module in conjunction with our own repository module and therefore run in conflicts with the currently harcoded scl package install for yum repos (${scl_package}.noarch.rpm)

2.) fixed bug with puppet 3.8.7/--parser future by using a qualified path name for scl
Error: Validation of Exec[python_requirements_initial_install_...] failed: 'scl enable rh-python34 -- ...' is not qualified and no path was specified. Please qualify the command or specify a path. at /tmp/vagrant-puppet/.../python/manifests/virtualenv.pp:173

Please review my changes and give me feedback if you are willed to merge them, or if you would like to have changes on the current implementation.

Greetings,
Michael

* the switch is useful if the repository is already configured independent of this module
* fixed bug with puppet 3.8.7/--parser future by using a qualified path name for scl
Error: Validation of Exec[python_requirements_initial_install_...] failed: 'scl enable rh-python34 -- ...' is not qualified and no path was specified. Please qualify the command or specify a path. at /tmp/vagrant-puppet/.../python/manifests/virtualenv.pp:173

install.pp
* added virtualenv specific package for rhscl

 virtualenv.pp
 * fixed version not prepended with "python" - will fail for rhscl (version = "rh-python34" for example)
* version for virtualenv is not the same as for python
@shivapoudel shivapoudel merged commit 795143b into voxpupuli:master Sep 9, 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.

None yet

3 participants