[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, squeeze-1.5.7, updated. debian/1.5.7-1-29-g115f872

Micah Anderson micah at riseup.net
Thu Dec 23 16:45:08 UTC 2010


The following commit has been merged in the squeeze-1.5.7 branch:
commit 42832003d4029e45f49f2ac467819646a9b4ca4b
Author: James Turnbull <james at lovedthanlost.net>
Date:   Mon Apr 12 11:33:02 2010 +1000

    Fixes #3397 - is_virtual fact does not detect Linux-VServer
    
    Thanks to Benedikt Bohm for the fix.

diff --git a/lib/facter/virtual.rb b/lib/facter/virtual.rb
index 3f02003..39e450e 100644
--- a/lib/facter/virtual.rb
+++ b/lib/facter/virtual.rb
@@ -76,7 +76,7 @@ Facter.add("is_virtual") do
 
     setcode do
         case Facter.value(:virtual)
-        when "xenu", "openvzve", "vmware", "kvm"
+        when "xenu", "openvzve", "vmware", "kvm", "vserver"
             true
         else 
             false

-- 
Packaging of Facter for debian



More information about the Pkg-puppet-devel mailing list