projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add mips-aql-06.debian.org to buildd
[mirror/dsa-puppet.git]
/
modules
/
debian-org
/
lib
/
facter
/
paths.rb
1
2
%w{/srv/build-trees
3
/srv/buildd
4
/etc/ssh/ssh_host_ed25519_key
5
/srv/mirrors/debian
6
/srv/mirrors/debian-debug
7
/srv/mirrors/debian-security
8
/dev/hwrng
9
}.each do |path|
10
Facter.add("has" + path.gsub(/[\/-]/,'_')) do
11
setcode do
12
if FileTest.exist?(path)
13
true
14
else
15
''
16
end
17
end
18
end
19
end