projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fa2f35ed670cf2e7e5b97ca58aaa4cbecc6bbfc1
[mirror/dsa-puppet.git]
/
facts
/
servertype.rb
1
Facter.add("kvmdomain") do
2
setcode do
3
if File.new('/proc/cpuinfo').read().index('QEMU Virtual CPU')
4
result = true
5
else
6
result = false
7
end
8
end
9
end