projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo?
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
manifests
/
init.pp
diff --git
a/modules/ferm/manifests/init.pp
b/modules/ferm/manifests/init.pp
index
a083892
..
84fc808
100644
(file)
--- a/
modules/ferm/manifests/init.pp
+++ b/
modules/ferm/manifests/init.pp
@@
-37,20
+37,17
@@
class ferm {
mode => 0400,
notify => Exec["ferm restart"];
"/etc/ferm/conf.d/defs.conf":
mode => 0400,
notify => Exec["ferm restart"];
"/etc/ferm/conf.d/defs.conf":
- source => "puppet:///ferm/defs.conf",
+ content => template("ferm/defs.conf.erb"),
+ require => Package["ferm"],
+ mode => 0400,
+ notify => Exec["ferm restart"];
+ "/etc/ferm/conf.d/interfaces.conf":
+ content => template("ferm/interfaces.conf.erb"),
require => Package["ferm"],
mode => 0400,
notify => Exec["ferm restart"];
}
require => Package["ferm"],
mode => 0400,
notify => Exec["ferm restart"];
}
- ferm::rule { "dsa-drop":
- domain => "(ip ip6)",
- description => "Drop everything else",
- prio => "99",
- rule => "jump log_or_drop"
- }
-
-
exec { "ferm restart":
command => "/etc/init.d/ferm restart",
refreshonly => true,
exec { "ferm restart":
command => "/etc/init.d/ferm restart",
refreshonly => true,