projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
decommission fasch. field is history
[mirror/dsa-puppet.git]
/
modules
/
debian-org
/
lib
/
facter
/
system-hw.rb
1
Facter.add("systemproductname") do
2
confine :kernel => :linux
3
setcode do
4
if FileTest.exist?("/usr/sbin/dmidecode")
5
%x{/usr/sbin/dmidecode -s system-product-name}.chomp.strip
6
else
7
''
8
end
9
end
10
end