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:
0dcbb54
)
fix syntax for ferm now ...
author
Stephen Gran
<steve@lobefin.net>
Sat, 20 Feb 2010 19:42:44 +0000
(19:42 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 20 Feb 2010 19:42:44 +0000
(19:42 +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
fcf7374
..
5dfaca3
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-4,9
+4,10
@@
##
-@def $SSH_SOURCES = <%=
-sshallowed = case hostname
- when 'logtest01' then '0.0.0.0/0'
+@def $SSH_SOURCES = (<%=
+sshallowed = []
+case hostname
+ when 'logtest01' then sshallowed << '0.0.0.0/0'
end
-sshallowed
-%>
+sshallowed
.join(' ')
+%>
);