[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161

Rein Henrichs rein at puppetlabs.com
Wed Aug 18 05:56:02 UTC 2010

The following commit has been merged in the upstream branch:
commit e02be1d34fd374c1d345fb16da9e5d33fa2118fd
Author: Rein Henrichs <rein at puppetlabs.com>
Date:   Fri Aug 6 12:14:27 2010 -0700

    [#4156] Updating spec to match Kai's change
    Updating the spec to check for the existence of /proc/vz to match the
    change in the previously applied patch.
    Signed-off-by: Rein Henrichs <rein at puppetlabs.com>

diff --git a/spec/unit/util/virtual.rb b/spec/unit/util/virtual.rb
index 5b59cf9..1e31a2f 100644
--- a/spec/unit/util/virtual.rb
+++ b/spec/unit/util/virtual.rb
@@ -8,7 +8,7 @@ describe Facter::Util::Virtual do
     it "should detect openvz" do
-        FileTest.stubs(:exists?).with("/proc/vz/veinfo").returns(true)
+        FileTest.stubs(:directory?).with("/proc/vz").returns(true)
         Facter::Util::Virtual.should be_openvz

Packaging of Facter for debian

More information about the Pkg-puppet-devel mailing list