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:
3b2d511
)
Allow ssh from mail relays to adayevskaya
author
Tollef Fog Heen
<tfheen@err.no>
Tue, 10 Sep 2013 20:17:10 +0000
(22:17 +0200)
committer
Tollef Fog Heen
<tfheen@err.no>
Tue, 10 Sep 2013 20:17:10 +0000
(22:17 +0200)
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
73c0809
..
3a726d6
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-40,6
+40,11
@@
if restrict_ssh.include?(hostname) then
ssh6allowed << '$UNGER_SSH6_ACCESS' # Ganneff, but more address space
end
+ if %w{adayevskaya}.include?(hostname) then
+ ssh4allowed << %w{$HOST_MAILRELAY_V4}
+ ssh6allowed << %w{$HOST_MAILRELAY_V6}
+ end
+
if nodeinfo['static_master'] then
ssh4allowed << '$HOST_STATIC_V4'
ssh6allowed << '$HOST_STATIC_V6'