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
d67f8fb
..
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", $table="filter", $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,6
+26,7
@@
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,