# description => 'Allow bacula access from storage and director',
# rule => "proto tcp mod state state (NEW) dport (bacula-fd) saddr (${bacula_director_ip6}) ACCEPT",
#}
+
+ @@concat::fragment { "bacula-dsa-client-list::$fqdn":
+ target => $bacula::bacula_dsa_client_list ,
+ content => @("EOF"),
+ ${fqdn}
+ | EOF
+ tag => $bacula::tag_bacula_dsa_client_list,
+ }
}
@daily root chronic /etc/bacula/scripts/volumes-delete-old -v
| EOF
}
+
+ concat { $bacula::bacula_dsa_client_list:
+ }
+ concat::fragment { 'bacula-dsa-client-list::header' :
+ target => $bacula::bacula_dsa_client_list,
+ content => "",
+ order => '00',
+ }
+ Concat::Fragment <<| tag == $bacula::tag_bacula_dsa_client_list |>>
}
$bacula_ssl_server_cert = '/etc/ssl/debian/certs/thishost-server.crt'
$bacula_ssl_server_key = '/etc/ssl/private/thishost-server.key'
+ $bacula_dsa_client_list = '/etc/bacula/dsa-clients'
+ $tag_bacula_dsa_client_list = "bacula::dsa::clientlist"
+
file { '/usr/local/sbin/bacula-idle-restart':
mode => '0555',
content => template('bacula/bacula-idle-restart.erb'),