X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fclient.pp;h=0b2b67196dca78b948e85fba06615d85ddaf72b1;hb=ddcd7c5ea5a1c13516637229ca6d6270559a87cf;hp=34e2b64dfbd11796bdfea8f51d292e42ea638150;hpb=3270c11c756e3be695bedbd967cf231c8deed1a4;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 34e2b64df..0b2b67196 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -2,7 +2,9 @@ class bacula::client inherits bacula { @@bacula::storage-per-node { $::fqdn: } if ! getfromhash($site::nodeinfo, 'not-bacula-client') { - @@bacula::node { $::fqdn: } + @@bacula::node { $::fqdn: + bacula_client_port => $bacula::bacula_client_port, + } } package { ['bacula-fd']: @@ -48,6 +50,13 @@ class bacula::client inherits bacula { require => Package['bacula-fd'], notify => Service['bacula-fd'], } + file { '/etc/systemd/system/bacula-fd.service.d/user.conf': + source => 'puppet:///modules/bacula/bacula-fd-systemd', + mode => '0400', + owner => root, + group => root, + notify => Service['bacula-fd'], + } @ferm::rule { 'dsa-bacula-fd-v4': domain => '(ip)',