From b9c0e0cebc4d2b6b98829a4e2d4a467c96f0f305 Mon Sep 17 00:00:00 2001 From: Norbert Varzariu Date: Fri, 22 Jan 2016 15:48:07 +0100 Subject: [PATCH] add headers to scripts --- templates/misc.sh.erb | 3 ++- templates/mysql.sh.erb | 1 + templates/psql.sh.erb | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/misc.sh.erb b/templates/misc.sh.erb index 2940d97..356882c 100644 --- a/templates/misc.sh.erb +++ b/templates/misc.sh.erb @@ -1,5 +1,6 @@ #!/bin/bash - +#This file is managed by puppet +# <%@commands.each do |command| -%> ssh <%=@host-%> '<%=command-%>' diff --git a/templates/mysql.sh.erb b/templates/mysql.sh.erb index 608bf15..59050ce 100644 --- a/templates/mysql.sh.erb +++ b/templates/mysql.sh.erb @@ -1,4 +1,5 @@ #!/bin/bash +# This file is managed by puppet # written by Norbert Varzariu # This Script is triggered by rsnapshot and dumps the specified dbs on the configured host. # diff --git a/templates/psql.sh.erb b/templates/psql.sh.erb index bc85740..cdbc79a 100644 --- a/templates/psql.sh.erb +++ b/templates/psql.sh.erb @@ -1,4 +1,5 @@ #!/bin/bash +# This file is managed by puppet # written by Norbert Varzariu # This Script is triggered by rsnapshot and dumps the specified dbs on the configured host. #