projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename ubc-enc2b1 to ubc-enc2bl01
[mirror/dsa-puppet.git]
/
modules
/
debian-org
/
lib
/
facter
/
paths.rb
diff --git
a/modules/debian-org/lib/facter/paths.rb
b/modules/debian-org/lib/facter/paths.rb
index
2394aa6
..
47a010c
100644
(file)
--- a/
modules/debian-org/lib/facter/paths.rb
+++ b/
modules/debian-org/lib/facter/paths.rb
@@
-3,11
+3,12
@@
/srv/buildd
/etc/ssh/ssh_host_ed25519_key
/srv/mirrors/debian
/srv/buildd
/etc/ssh/ssh_host_ed25519_key
/srv/mirrors/debian
- /srv/mirrors/debian-backports
/srv/mirrors/debian-debug
/srv/mirrors/debian-debug
+ /srv/mirrors/debian-ports
/srv/mirrors/debian-security
/srv/mirrors/debian-security
+ /dev/hwrng
}.each do |path|
}.each do |path|
- Facter.add("has" + path.gsub(
'/'
,'_')) do
+ Facter.add("has" + path.gsub(
/[\/-]/
,'_')) do
setcode do
if FileTest.exist?(path)
true
setcode do
if FileTest.exist?(path)
true