+ package { 'bacula-console':
+ ensure => installed;
+ }
+
+ file { '/etc/bacula/bconsole.conf':
+ content => template('bacula/bconsole.conf.erb'),
+ mode => '0640',
+ group => bacula,
+ require => Package['bacula-console']
+ }
+
+ package { 'python3-psycopg2': ensure => installed }
+ file { '/etc/bacula/scripts/volume-purge-action':
+ mode => '0555',
+ source => 'puppet:///modules/bacula/volume-purge-action',
+ ;
+ }
+ file { '/etc/bacula/scripts/volumes-delete-old':
+ mode => '0555',
+ source => 'puppet:///modules/bacula/volumes-delete-old',
+ ;
+ }
+ file { '/etc/bacula/storages-list.d':
+ ensure => directory,
+ mode => '0755',
+ group => bacula,
+ purge => true,
+ force => true,
+ recurse => true,
+ source => 'puppet:///files/empty/',
+ }
+ file { "/etc/cron.d/puppet-bacula-stuff": ensure => absent, }
+ concat::fragment { 'dsa-puppet-stuff--bacula-director':
+ target => '/etc/cron.d/dsa-puppet-stuff',
+ content => @(EOF)
+ @daily root chronic /etc/bacula/scripts/volume-purge-action -v
+ @daily root chronic /etc/bacula/scripts/volumes-delete-old -v
+ | EOF
+ }