From: Peter Palfrader Date: Wed, 25 Sep 2019 06:52:12 +0000 (+0200) Subject: Unnecessary requires X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d7bdf6cd78a6959a02ec40cdf70d37dadb655221;p=mirror%2Fdsa-puppet.git Unnecessary requires --- diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 12f334e3f..24f6908dd 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -82,7 +82,6 @@ class bacula::client( ensure => $service_ensure, enable => $service_enable, hasstatus => true, - require => Package['bacula-fd'] } exec { 'bacula-fd restart-when-idle': @@ -99,7 +98,6 @@ class bacula::client( mode => '0640', owner => root, group => bacula, - require => Package['bacula-fd'], notify => Exec['bacula-fd restart-when-idle'], } file { '/etc/bacula/fd-conf.d/empty.conf': @@ -107,7 +105,6 @@ class bacula::client( content => '', mode => '0440', group => bacula, - require => Package['bacula-director-pgsql'], notify => Exec['bacula-director reload'] } file { '/usr/local/sbin/bacula-backup-dirs': @@ -126,7 +123,6 @@ class bacula::client( mode => '0400', owner => root, group => root, - require => Package['bacula-fd'], notify => Service['bacula-fd'], } if (versioncmp($::lsbmajdistrelease, '9') >= 0 and $facts['systemd']) {