Showing with 6 additions and 2 deletions.
  1. +1 −1 Modulefile
  2. +1 −0 lib/facter/pip_version.rb
  3. +1 −0 lib/facter/python_version.rb
  4. +1 −0 lib/facter/virtualenv_version.rb
  5. +1 −0 manifests/pip.pp
  6. +1 −1 metadata.json
2 changes: 1 addition & 1 deletion Modulefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name 'stankevich-python'
version '1.8.0'
version '1.8.1'
source 'git://github.com/stankevich/puppet-python.git'
author 'stankevich'
license 'Apache License, Version 2.0'
Expand Down
1 change: 1 addition & 0 deletions lib/facter/pip_version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Make pip version available as a fact
# Works with pip loaded and without, pip installed using pip and package installed
require 'puppet'
require 'rubygems'

facter_puppet_version = Facter.value(:puppetversion)
facter_is_pe = Facter.value(:is_pe)
Expand Down
1 change: 1 addition & 0 deletions lib/facter/python_version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Make python versions available as facts
# In lists default python and system python versions
require 'puppet'
require 'rubygems'

facter_puppet_version = Facter.value(:puppetversion)
facter_is_pe = Facter.value(:is_pe)
Expand Down
1 change: 1 addition & 0 deletions lib/facter/virtualenv_version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Make virtualenv version available as a fact
# Works with virualenv loaded and without, pip installed and package installed
require 'puppet'
require 'rubygems'

facter_puppet_version = Facter.value(:puppetversion)
facter_is_pe = Facter.value(:is_pe)
Expand Down
1 change: 1 addition & 0 deletions manifests/pip.pp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
$source = $url ? {
false => $pkgname,
/^(\/|[a-zA-Z]\:)/ => $url,
/^(git\+|hg\+|bzr\+|svn\+)(http|https|ssh|svn|sftp|ftp|lp)(:\/\/).+$/ => url,
default => "${url}#egg=${egg_name}",
}

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stankevich-python",
"version": "1.7.16",
"version": "1.8.0",
"source": "git://github.com/stankevich/puppet-python.git",
"author": "stankevich",
"license": "Apache Version 2.0",
Expand Down