Make a few Strings be Stdlib::Host
[mirror/dsa-puppet.git] / modules / bacula / manifests / storage.pp
index 874efec..4ed5992 100644 (file)
@@ -5,12 +5,14 @@
 # @param filestor_name    storage device media type name prefix
 # @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)
 class bacula::storage (
   String $backup_path     = '/srv/bacula',
   String $filestor_device = 'FileStorage',
   String $filestor_name   = 'File',
   Integer $port_sd        = 9103,
   String $storage_name    = "${::fqdn}-sd",
+  Stdlib::Host $storage_address = $::fqdn,
 ) inherits bacula {
   $storage_secret = hkdf('/etc/puppet/secret', "bacula-sd-${::fqdn}")