#!/bin/bash
# run a bunch of full postgresql backups
+# vim:syn=sh:
# Copyright 2014 Peter Palfrader
while read host port username cluster version; do
[ "${host#\#}" = "$host" ] || continue
+ [ -z "$host" ] && continue
if [ -n "$forcehostport" ] && [ "$forcehostport" != "$host:$port" ]; then
[ "$verbose" -gt 0 ] && echo "Skipping $host:$port $version/$cluster."
<%- if @hostname != "backuphost" -%>
moszumanska.debian.org 5432 debian-backup main 9.1
<%- end -%>
-EOF
+#
+# puppet notice: this is just a partial file. The tail EOF comes
+# from a different concat fragment