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::virtualenv does not accept the string 'pip' as per the documentation #205

Closed
jeroenjacobs79 opened this issue Jul 4, 2015 · 0 comments
Assignees

Comments

@jeroenjacobs79
Copy link

according to init.pp:

[*virtualenv*]
Install python-virtualenv. Default: false, also accepts 'pip' which will
install latest virtualenv from pip rather than package manager

this is incorrect however. setting virtualenv => 'pip' will result in an error:

Example config:

class { 'python':
    version    => '3.4',
    pip        => true,
    dev        => true,
    virtualenv => 'pip',
}

This results in the following error:

=> default: Error: "pip" is not a boolean.  It looks to be a String at /tmp/vagrant-puppet/modules-07dad0bb873a0b6e1fde1b335ada575f/python/manifests/init.pp:82 on node

Please take note of the fact that is says "pip is not a boolean", not "virtualenv is not a boolean"

@ghoneycutt ghoneycutt changed the title Documentation is incorrect python::virtualenv does not accept the string 'pip' as per the documentation Jul 7, 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

No branches or pull requests

2 participants