2 define postgres::backup_server::register_backup_clienthost (
3 $sshpubkey = $::postgres_key,
4 $ipaddrlist = join(getfromhash($site::nodeinfo, 'ldap', 'ipHostNumber'), ","),
5 $hostname = $::hostname,
7 include postgres::backup_server::globals
10 $addr = assert_type(String[1], $ipaddrlist)
11 @@concat::fragment { "postgresql::server::backup-source-clienthost::$name::$fqdn":
12 target => $postgres::backup_server::globals::sshkeys_sources ,
14 ${hostname} ${addr} ${sshpubkey}
16 tag => $postgres::backup_server::globals::tag_source_sshkey,