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:
f9797fa
)
allow ssh to geo[123] from orff
author
Peter Palfrader
<peter@palfrader.org>
Tue, 7 Sep 2010 20:31:42 +0000
(22:31 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 7 Sep 2010 20:31:42 +0000
(22:31 +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
3018fb5
..
f1f9ad1
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-27,6
+27,10
@@
if %w{bartok beethoven}.include?(hostname) then
ssh4allowed << '$HOST_DEBIAN_V4'
ssh6allowed << '$HOST_DEBIAN_V6'
end
+if %w{geo1 geo2 geo3}.include?(hostname) then
+ ssh4allowed << '194.177.211.209' # orff - master
+ ssh6allowed << '2001:648:2ffc:deb:213:72ff:fe69:e188' # orff - master
+end
ssh4allowed.length == 0 and ssh4allowed << '0.0.0.0/0'
ssh6allowed.length == 0 and ssh6allowed << '::/0'