From 1abb2e62f1dc2ac374403374e5bfd6511a12de03 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 3 Jun 2008 16:41:36 +0000 Subject: add vserver support to backupninja config add vsnames support to mysql config --- templates/backupninja.conf.erb | 1 + templates/mysql.conf.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/backupninja.conf.erb b/templates/backupninja.conf.erb index 7502a4c..1d3aeb8 100644 --- a/templates/backupninja.conf.erb +++ b/templates/backupninja.conf.erb @@ -16,3 +16,4 @@ configdirectory = <%= configdir %> scriptdirectory = <%= scriptdir %> libdirectory = <%= libdir %> usecolors = <%= usecolors ? 'yes' : 'no' %> +vserver = <%= vserver ? 'yes' : 'no' %> diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb index a26976a..9d22ab0 100644 --- a/templates/mysql.conf.erb +++ b/templates/mysql.conf.erb @@ -3,7 +3,7 @@ # the next time Puppet runs. Please make configuration changes to this # service in Puppet. -<% %w{user dbusername dbpassword dbhost databases backupdir}.each do |v| +<% %w{user dbusername dbpassword dbhost databases backupdir vsname}.each do |v| if send(v) -%><%= v + ' = ' + send(v) + "\n" %><% end -- cgit v1.2.3