diff --git a/lib/facter/pip_version.rb b/lib/facter/pip_version.rb index 9011da4b..19b27c29 100644 --- a/lib/facter/pip_version.rb +++ b/lib/facter/pip_version.rb @@ -1,7 +1,6 @@ # 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) diff --git a/lib/facter/python_version.rb b/lib/facter/python_version.rb index 08eb9e06..eb226a14 100644 --- a/lib/facter/python_version.rb +++ b/lib/facter/python_version.rb @@ -1,7 +1,6 @@ # 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) diff --git a/lib/facter/virtualenv_version.rb b/lib/facter/virtualenv_version.rb index 127a002a..b8e828ea 100644 --- a/lib/facter/virtualenv_version.rb +++ b/lib/facter/virtualenv_version.rb @@ -1,7 +1,6 @@ # 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)