From 794856bfff4f93066570f06280170609794e157a Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 20 Nov 2007 03:14:55 +0000 Subject: add backupninja module --- templates/mysql.conf.erb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/mysql.conf.erb (limited to 'templates/mysql.conf.erb') diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb new file mode 100644 index 0000000..a26976a --- /dev/null +++ b/templates/mysql.conf.erb @@ -0,0 +1,14 @@ +# This configuration file was auto-generated by the Puppet configuration +# management system. Any changes you make to this file will be overwritten +# the next time Puppet runs. Please make configuration changes to this +# service in Puppet. + +<% %w{user dbusername dbpassword dbhost databases backupdir}.each do |v| + if send(v) + -%><%= v + ' = ' + send(v) + "\n" %><% + end +end -%> + +hotcopy = <%= hotcopy ? 'yes' : 'no' %> +sqldump = <%= sqldump ? 'yes' : 'no' %> +compress = <%= compress ? 'yes' : 'no' %> -- cgit v1.2.3