Skip to content

Commit

Permalink
Explicitly set allow_virtual to false for package resource
Browse files Browse the repository at this point in the history
  • Loading branch information
eshamow committed Oct 23, 2014
1 parent c221984 commit c5d94b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facter/virtualenv_version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Make virtualenv version available as a fact
# Works with virualenv loaded and without, pip installed and package installed
require 'puppet'
pkg = Puppet::Type.type(:package).new(:name => "virtualenv")
pkg = Puppet::Type.type(:package).new(:name => "virtualenv",:allow_virtual => 'false')
Facter.add("virtualenv_version") do
has_weight 100
setcode do
Expand Down

0 comments on commit c5d94b7

Please sign in to comment.