projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
maybe this is not wrong, take 4
[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
cfb8a3e
..
5dfaca3
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-4,9
+4,10
@@
##
-@def $SSH_SOURCES = <%
-ssh_allowed = case nodename
- when 'logtest01' then '0.0.0.0/0'
+@def $SSH_SOURCES = (<%=
+sshallowed = []
+case hostname
+ when 'logtest01' then sshallowed << '0.0.0.0/0'
end
-ssh
_allowed
-%>
+ssh
allowed.join(' ')
+%>
);