Skip to content

python::pip doesn't find pip command #31

@cedricmessiant

Description

@cedricmessiant

When I try to use python::pip without any parameter, I have this error :

Error: Parameter unless failed on Exec[pip_install_collective.zopeedit]: 'pip freeze | grep -i -e ^collective.zopeedit==' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/modules/python/manifests/pip.pp:87
Wrapped exception:
'pip freeze | grep -i -e ^collective.zopeedit==' is not qualified and no path was specified. Please qualify the command or specify a path.

If I change line 61 of pip.pp by :

'system' => '/usr/bin/pip',

It works.
Do you have an idea about why puppet doesn't find pip ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions