projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add arm machines to smarthost
[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