projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fail open
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
templates
/
me.conf.erb
diff --git
a/modules/ferm/templates/me.conf.erb
b/modules/ferm/templates/me.conf.erb
index
a7729e9
..
085704b
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-5,9
+5,16
@@
@def $SSH_SOURCES = (<%=
+
sshallowed = []
+
case hostname
when 'logtest01' then sshallowed << [ '91.103.132.25', '91.103.132.49' ]
end
+
+if sshallowed.length == 0
+ sshallowed << '0.0.0.0'
+end
+
sshallowed.join(' ')
%>);