projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore openafs modules packages
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
manifests
/
init.pp
diff --git
a/modules/ferm/manifests/init.pp
b/modules/ferm/manifests/init.pp
index
91074a1
..
95da151
100644
(file)
--- a/
modules/ferm/manifests/init.pp
+++ b/
modules/ferm/manifests/init.pp
@@
-1,5
+1,5
@@
class ferm {
class ferm {
- define rule($domain="ip", $
chain="INPUT", $rule, $description="", $prio="00"
) {
+ define rule($domain="ip", $
table="filter", $chain="INPUT", $rule, $description="", $prio="00", $notarule=false
) {
file {
"/etc/ferm/dsa.d/${prio}_${name}":
ensure => present,
file {
"/etc/ferm/dsa.d/${prio}_${name}":
ensure => present,
@@
-26,19
+26,20
@@
class ferm {
force => true,
recurse => true,
source => "puppet:///files/empty/",
force => true,
recurse => true,
source => "puppet:///files/empty/",
+ notify => Exec["ferm restart"],
require => Package["ferm"];
"/etc/ferm":
ensure => directory,
require => Package["ferm"];
"/etc/ferm":
ensure => directory,
- mode => 0755
,
+ mode => 0755
;
"/etc/ferm/conf.d":
ensure => directory,
require => Package["ferm"];
"/etc/default/ferm":
"/etc/ferm/conf.d":
ensure => directory,
require => Package["ferm"];
"/etc/default/ferm":
- source => "puppet:///ferm/ferm.default",
+ source => "puppet:///
modules/
ferm/ferm.default",
require => Package["ferm"],
notify => Exec["ferm restart"];
"/etc/ferm/ferm.conf":
require => Package["ferm"],
notify => Exec["ferm restart"];
"/etc/ferm/ferm.conf":
- source => "puppet:///ferm/ferm.conf",
+ source => "puppet:///
modules/
ferm/ferm.conf",
require => Package["ferm"],
mode => 0400,
notify => Exec["ferm restart"];
require => Package["ferm"],
mode => 0400,
notify => Exec["ferm restart"];
@@
-58,7
+59,7
@@
class ferm {
mode => 0400,
notify => Exec["ferm restart"];
"/etc/logrotate.d/ulogd":
mode => 0400,
notify => Exec["ferm restart"];
"/etc/logrotate.d/ulogd":
- source => "puppet:///ferm/logrotate-ulogd",
+ source => "puppet:///
modules/
ferm/logrotate-ulogd",
require => Package["logrotate"],
;
}
require => Package["logrotate"],
;
}
@@
-73,7
+74,7
@@
class ferm {
'true': {
file {
"/etc/ferm/conf.d/load_ftp_conntrack.conf":
'true': {
file {
"/etc/ferm/conf.d/load_ftp_conntrack.conf":
- source => "puppet:///ferm/conntrack_ftp.conf",
+ source => "puppet:///
modules/
ferm/conntrack_ftp.conf",
require => Package["ferm"],
notify => Exec["ferm restart"];
}
require => Package["ferm"],
notify => Exec["ferm restart"];
}