X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Ftemplates%2Fbackup_server%2Fpostgres-make-backup-sshauthkeys.erb;fp=modules%2Fpostgres%2Ftemplates%2Fbackup_server%2Fpostgres-make-backup-sshauthkeys.erb;h=715e4936032d4af72b367dd6df9923a2ce77a495;hb=76ca91bce24ecbcbcc4e62a37aa06fd0fb9f96c7;hp=c2fc21659f63997127506a1a4dbd4e4e39517cdc;hpb=46cee04ab06b23ab6e9e4baba655cf470d10cfc4;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/templates/backup_server/postgres-make-backup-sshauthkeys.erb b/modules/postgres/templates/backup_server/postgres-make-backup-sshauthkeys.erb index c2fc21659..715e49360 100755 --- a/modules/postgres/templates/backup_server/postgres-make-backup-sshauthkeys.erb +++ b/modules/postgres/templates/backup_server/postgres-make-backup-sshauthkeys.erb @@ -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"