postgres-make-base-backups: rename variables to make them more obvious
[mirror/dsa-puppet.git] / modules / postgres / templates / backup_server / postgres-make-backup-sshauthkeys.erb
index ae17363..715e493 100755 (executable)
@@ -27,9 +27,14 @@ set -u
 
 CONFFILE=/etc/dsa/postgresql-backup/sshkeys-sources
 OUTFILE=/etc/ssh/userkeys/debbackup
-HEAD=/etc/dsa/postgresql-backup/sshkeys-local
-
-: > "${OUTFILE}.new"
+HEAD=/etc/dsa/postgresql-backup/sshkeys-manual
+
+cat > "${OUTFILE}.new" << EOF
+# ###################
+# This file was created using postgres-make-backup-sshauthkeys.
+# Do not edit this manually but edit its sources and run the script (or let puppet run it for you).
+#####################
+EOF
 
 if [ -e "$HEAD" ] ; then
        echo "# $HEAD" >> "${OUTFILE}.new"