diff options
author | Micah Anderson <micah@riseup.net> | 2012-01-05 14:58:30 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-01-05 14:58:30 -0500 |
commit | f87e000678ce02f98e8268ef59bb0b8a388e15ff (patch) | |
tree | 257cb831c6341031f2bc017d5f346dc80690da89 | |
parent | 3cea58cd5081fdec65e93b76f53243455fc1faed (diff) | |
download | puppet-backupninja-f87e000678ce02f98e8268ef59bb0b8a388e15ff.tar.gz puppet-backupninja-f87e000678ce02f98e8268ef59bb0b8a388e15ff.tar.bz2 |
add the $nodata and $mysqldumpoptions options to the mysql handler template
-rw-r--r-- | manifests/mysql.pp | 4 | ||||
-rw-r--r-- | templates/mysql.conf.erb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/mysql.pp b/manifests/mysql.pp index 83d8f8f..501b397 100644 --- a/manifests/mysql.pp +++ b/manifests/mysql.pp @@ -16,8 +16,8 @@ # define backupninja::mysql( $order = 10, $ensure = present, $user = false, $dbusername = false, $dbpassword = false, - $dbhost = 'localhost', $databases = 'all', $backupdir = false, $hotcopy = false, - $sqldump = false, $compress = false, $configfile = true, + $dbhost = 'localhost', $databases = 'all', $nodata = false, $backupdir = false, $hotcopy = false, + $sqldump = false, $sqldumpoptions = false, $compress = false, $configfile = true, $vsname = false) { diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb index 14905fd..95a001b 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 vsname}.each do |v| +<% %w{user dbusername dbpassword dbhost databases nodata backupdir sqldumpoptions vsname}.each do |v| if send(v) -%><%= v + ' = ' + send(v) + "\n" %><% end |