Issue #15759 has been updated by Matthew Black.

Yes, it is inconsistent with at least the RPM package provider, unless that has 
been changed too, that the source is the location of the RPM to install. The 
information provided helps me get around my issue but documentation should be 
added/updated.
----------------------------------------
Bug #15759: Package provider pip urls are failing due to bad url
https://projects.puppetlabs.com/issues/15759#change-69290

Author: Matthew Black
Status: Accepted
Priority: Normal
Assignee: Matthew Black
Category: provider
Target version: 
Affected Puppet version: 
Keywords: pip
Branch: 


PIP package provider is failing when attempting to use a source to a tar.gz.

        package { "mercurial":
                ensure => installed,
                provider => pip,
                source => "http://yum/pip/mercurial-2.2.3.tar.gz";,
                require => Package["python-devel"]
        }

Here is the actual error message
    err: /Stage[main]/Os::Packages/Package[mercurial]/ensure: change from 
absent to present failed: 
    Execution of '/usr/bin/pip install -q -e 
http://yum/yum/pip/mercurial-2.2.3.tar.gz#egg=mercurial'
    returned 1: --editable=http://yum/pip/mercurial-2.2.3.tar.gz#egg=mercurial 
should be formatted 
    with svn+URL, git+URL, hg+URL or bzr+URL
    Storing complete log in /root/.pip/pip.log

It looks like in the pip package provider this issue is around the source 
definition. 
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/pip.rb#L69



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to