From: Peter Palfrader Date: Mon, 23 Sep 2019 17:24:55 +0000 (+0200) Subject: director.pp: spacing changes X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=be03d3ddd125092e6763fd40579b1f9ba5659d43;p=mirror%2Fdsa-puppet.git director.pp: spacing changes --- diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index 8769aebb4..df425f8bb 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -2,9 +2,9 @@ class bacula::director inherits bacula { ensure_packages ( [ - 'bacula-director-pgsql', - 'bacula-common', - 'bacula-common-pgsql' + 'bacula-director-pgsql', + 'bacula-common', + 'bacula-common-pgsql' ], { ensure => 'installed', }) @@ -70,13 +70,13 @@ class bacula::director inherits bacula { package { 'python3-psycopg2': ensure => installed } file { '/etc/bacula/scripts/volume-purge-action': - mode => '0555', - source => 'puppet:///modules/bacula/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', + mode => '0555', + source => 'puppet:///modules/bacula/volumes-delete-old', ; } file { '/etc/bacula/storages-list.d': @@ -89,14 +89,14 @@ class bacula::director inherits bacula { source => 'puppet:///files/empty/', } file { '/usr/local/sbin/dsa-bacula-scheduler': - source => 'puppet:///modules/bacula/dsa-bacula-scheduler', - mode => '0555', + source => 'puppet:///modules/bacula/dsa-bacula-scheduler', + mode => '0555', } - file { "/etc/cron.d/puppet-bacula-stuff": ensure => absent, } + file { '/etc/cron.d/puppet-bacula-stuff': ensure => absent, } concat::fragment { 'puppet-crontab--bacula-director': - target => '/etc/cron.d/puppet-crontab', - content => @(EOF) + target => '/etc/cron.d/puppet-crontab', + content => @(EOF) @daily root chronic /etc/bacula/scripts/volume-purge-action -v @daily root chronic /etc/bacula/scripts/volumes-delete-old -v */3 * * * * root sleep $(( $RANDOM \% 60 )); flock -w 0 -e /usr/local/sbin/dsa-bacula-scheduler /usr/local/sbin/dsa-bacula-scheduler @@ -106,9 +106,9 @@ class bacula::director inherits bacula { concat { $bacula::bacula_dsa_client_list: } concat::fragment { 'bacula-dsa-client-list::header' : - target => $bacula::bacula_dsa_client_list, - content => "", - order => '00', + target => $bacula::bacula_dsa_client_list, + content => '', + order => '00', } Concat::Fragment <<| tag == $bacula::tag_bacula_dsa_client_list |>> }