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:
2a3c519
)
add pre-hook for cilea to load nf_conntrack_sip and nf_conntrack_h323
author
Martin Zobel-Helas
<zobel@debian.org>
Sun, 25 Jul 2010 12:47:49 +0000
(14:47 +0200)
committer
Martin Zobel-Helas
<zobel@debian.org>
Sun, 25 Jul 2010 12:47:49 +0000
(14:47 +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
0ff422b
..
87e0b40
100644
(file)
--- a/
modules/ferm/templates/me.conf.erb
+++ b/
modules/ferm/templates/me.conf.erb
@@
-32,8
+32,10
@@
ssh6allowed.length == 0 and ssh6allowed << '::/0'
out << "@def $SSH_SOURCES = (#{ssh4allowed.join(' ')});"
out << "@def $SSH_V6_SOURCES = (#{ssh6allowed.join(' ')});"
-
-
+if %w{cilea}.include?(hostname) then
+ out << '@hook pre "/sbin/modprobe nf_conntrack_sip";'
+ out << '@hook pre "/sbin/modprobe nf_conntrack_h323";'
+end
smtp4allowed = []
smtp6allowed = []