Merge remote-tracking branch 'origin/master' into staging
[mirror/dsa-puppet.git] / modules / postgres / templates / backup_server / postgres-make-backup-sshauthkeys.erb
index c2fc216..715e493 100755 (executable)
@@ -29,7 +29,12 @@ CONFFILE=/etc/dsa/postgresql-backup/sshkeys-sources
 OUTFILE=/etc/ssh/userkeys/debbackup
 HEAD=/etc/dsa/postgresql-backup/sshkeys-manual
 
-: > "${OUTFILE}.new"
+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"