1 class bacula::client inherits bacula {
3 package { ['bacula-client', 'bacula-fd']:
11 require => Package['bacula-fd']
14 file { '/etc/bacula/bacula-fd.conf':
15 content => template('bacula/bacula-fd.conf.erb'),
19 require => Package['bacula-fd'],
20 notify => Service['bacula-fd']
23 @ferm::rule { 'dsa-bacula-fd-v4':
25 description => 'Allow bacula access from storage and director',
26 rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_address}) ACCEPT",
29 @ferm::rule { 'dsa-bacula-fd-v6':
31 description => 'Allow bacula access from storage and director',
32 rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_address}) ACCEPT",