Skip to content
This repository was archived by the owner on Oct 18, 2022. It is now read-only.

Commit 5c57d0c

Browse files
committed
Merge pull request voxpupuli#156 from stankevich/revert-154-revert-146
Rollback "Revert 146"
2 parents 92c42a7 + 89bb4e3 commit 5c57d0c

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/facter/pip_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Make pip version available as a fact
22
# Works with pip loaded and without, pip installed using pip and package installed
33
require 'puppet'
4+
require 'rubygems'
45

56
facter_puppet_version = Facter.value(:puppetversion)
67
facter_is_pe = Facter.value(:is_pe)

lib/facter/python_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Make python versions available as facts
22
# In lists default python and system python versions
33
require 'puppet'
4+
require 'rubygems'
45

56
facter_puppet_version = Facter.value(:puppetversion)
67
facter_is_pe = Facter.value(:is_pe)

lib/facter/virtualenv_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Make virtualenv version available as a fact
22
# Works with virualenv loaded and without, pip installed and package installed
33
require 'puppet'
4+
require 'rubygems'
45

56
facter_puppet_version = Facter.value(:puppetversion)
67
facter_is_pe = Facter.value(:is_pe)

0 commit comments

Comments
 (0)