Issue #15759 has been updated by eric sorenson. Assignee changed from eric sorenson to Matthew Black
Matthew -- The pip provider uses the 'source' attribute if you are installing from a revision-control repository. To install a plain package, simply set `ensure => 'http://server/path/file.tar.gz` To be fair I don't see any way short of reading the source code in `lib/puppet/provider/package/pip.rb` to find this out, which is kind of silly. ---------------------------------------- Bug #15759: Package provider pip urls are failing due to bad url https://projects.puppetlabs.com/issues/15759#change-69261 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.
