[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161
James Turnbull
james at lovedthanlost.net
Wed Aug 18 05:55:43 UTC 2010
The following commit has been merged in the upstream branch:
commit 8bf8cb59fcc0b298e744781e3adb4cd1fdf3a9ac
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