projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560def7
)
fail open
author
Stephen Gran
<steve@lobefin.net>
Sat, 20 Feb 2010 20:05:27 +0000
(20:05 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 20 Feb 2010 20:05:27 +0000
(20:05 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb
patch
|
blob
|
history
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(' ')
%>);