projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into staging
[mirror/dsa-puppet.git]
/
modules
/
postgres
/
templates
/
backup_server
/
postgres-make-backup-sshauthkeys.erb
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
c2fc216
..
715e493
100755
(executable)
--- 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=/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"
if [ -e "$HEAD" ] ; then
echo "# $HEAD" >> "${OUTFILE}.new"