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

python::pip install args needs extra space to separate multiple args #162

Closed
kpurdon opened this issue Jan 22, 2015 · 1 comment
Closed
Assignees

Comments

@kpurdon
Copy link

kpurdon commented Jan 22, 2015

python::pip given this option:

install_args => ['--pre', '--upgrade']

will generate pip install --pre--upgrade [something] (note pre and upgrade have no space). To correct this you have to add an additional space after each arg:

install_args => ['--pre ', '--upgrade ']

which will correctly generate pip install --pre --upgrade [something].

@adamcstephens
Copy link
Contributor

install_args is actually a string, even though the README shows it as an array.

https://github.com/stankevich/puppet-python/blob/master/manifests/pip.pp#L43-L45

Even more fun, is in future parser you get the array translated into a string, brackets and all.

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

No branches or pull requests

3 participants