whitespace change only -- replace tabs with 2 spaces
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_server / register_backup_clienthost.pp
index 00ef582..e6c27d1 100644 (file)
@@ -1,19 +1,19 @@
 #
 define postgres::backup_server::register_backup_clienthost (
-       $sshpubkey = $::postgresql_key,
-       $ipaddrlist = join(getfromhash($site::nodeinfo, 'ldap', 'ipHostNumber'), ","),
-       $hostname = $::hostname,
+  $sshpubkey = $::postgresql_key,
+  $ipaddrlist = join(getfromhash($site::nodeinfo, 'ldap', 'ipHostNumber'), ","),
+  $hostname = $::hostname,
 ) {
-       include postgres::backup_server::globals
+  include postgres::backup_server::globals
 
-       if $sshpubkey {
-               $addr = assert_type(String[1], $ipaddrlist)
-               @@concat::fragment { "postgresql::server::backup-source-clienthost::$name::$fqdn":
-                       target => $postgres::backup_server::globals::sshkeys_sources ,
-                       content  => @("EOF"),
-                                       ${hostname} ${addr} ${sshpubkey}
-                                       | EOF
-                       tag     => $postgres::backup_server::globals::tag_source_sshkey,
-               }
-       }
+  if $sshpubkey {
+    $addr = assert_type(String[1], $ipaddrlist)
+    @@concat::fragment { "postgresql::server::backup-source-clienthost::$name::$fqdn":
+      target => $postgres::backup_server::globals::sshkeys_sources ,
+      content  => @("EOF"),
+          ${hostname} ${addr} ${sshpubkey}
+          | EOF
+      tag     => $postgres::backup_server::globals::tag_source_sshkey,
+    }
+  }
 }