X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fstorage.pp;h=0a445e0fe521431142160cf3a1aaadf3041bb334;hb=0399c6165ed6ff265f460e8e8dde99a322615b77;hp=80b4755dee88a525213d788d55077336a99c8e48;hpb=c0a2aa7bfdcb0d56ec24e0ad98d5f248a995fd70;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index 80b4755de..0a445e0fe 100644 --- a/modules/bacula/manifests/storage.pp +++ b/modules/bacula/manifests/storage.pp @@ -6,8 +6,6 @@ # @param port_sd port for the sd to listen on # @param storage_name bacula name of this sd instance # @param storage_address address of this sd instance that other instances should connect to (dns name) -# @param has_ipv4 SD should listen on ipv4 -# @param has_ipv6 SD should listen on ipv6 class bacula::storage ( String $backup_path = '/srv/bacula', String $filestor_device = 'FileStorage', @@ -15,8 +13,6 @@ class bacula::storage ( Integer $port_sd = 9103, String $storage_name = "${::fqdn}-sd", Stdlib::Host $storage_address = $::fqdn, - Boolean $has_ipv4 = $bacula::public_addresses.any |$addr| { $addr =~ Stdlib::IP::Address::V4 }, - Boolean $has_ipv6 = $bacula::public_addresses.any |$addr| { $addr =~ Stdlib::IP::Address::V6 }, ) inherits bacula { package { 'bacula-sd': @@ -59,7 +55,6 @@ class bacula::storage ( purge => true, force => true, recurse => true, - source => 'puppet:///files/empty/', notify => Exec['bacula-sd restart-when-idle'] }