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:
7c4cf0f
)
Allow traffic from bacula-director to fd
author
Tollef Fog Heen
<tfheen@err.no>
Sat, 16 Jun 2012 11:01:16 +0000
(13:01 +0200)
committer
Tollef Fog Heen
<tfheen@err.no>
Sat, 16 Jun 2012 11:01:16 +0000
(13:01 +0200)
modules/bacula/manifests/client.pp
patch
|
blob
|
history
diff --git
a/modules/bacula/manifests/client.pp
b/modules/bacula/manifests/client.pp
index
4ab2b59
..
4cbe24c
100644
(file)
--- a/
modules/bacula/manifests/client.pp
+++ b/
modules/bacula/manifests/client.pp
@@
-29,4
+29,10
@@
class bacula::client inherits bacula {
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true;
}
+
+ @ferm::rule { 'dsa-bacula-fd':
+ domain => '(ip ip6)',
+ description => 'Allow bacula access from storage and director',
+ rule => 'proto tcp mod state state (NEW) dport (bacula-fd) @subchain \'bacula\' { saddr ($bacula_director_address) ACCEPT; }',
+ }
}