projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate /etc/cron.d/puppet-nagios-hpsa to the puppet-nagios-wraps concat
[mirror/dsa-puppet.git]
/
modules
/
debian_org
/
lib
/
facter
/
servertype.rb
diff --git
a/modules/debian_org/lib/facter/servertype.rb
b/modules/debian_org/lib/facter/servertype.rb
index
21dba00
..
d309835
100644
(file)
--- a/
modules/debian_org/lib/facter/servertype.rb
+++ b/
modules/debian_org/lib/facter/servertype.rb
@@
-1,7
+1,7
@@
Facter.add("kvmdomain") do
setcode do
result = false
Facter.add("kvmdomain") do
setcode do
result = false
- if File.new('/proc/cpuinfo').read().index('
QEMU Virtual CPU
')
+ if File.new('/proc/cpuinfo').read().index('
hypervisor
')
result = true
end
result
result = true
end
result