diff options
author | Micah Anderson <micah@riseup.net> | 2008-02-06 21:39:21 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-02-06 21:39:21 +0000 |
commit | 72e9e1236c42215d4a0a096c568f516b50f8d7b2 (patch) | |
tree | ea85d84f1dc29ecac25db017df403701fcf78486 | |
parent | 689225f0304e5f84f56deaa12648f68fd97c1c56 (diff) | |
download | puppet-backupninja-72e9e1236c42215d4a0a096c568f516b50f8d7b2.tar.gz puppet-backupninja-72e9e1236c42215d4a0a096c568f516b50f8d7b2.tar.bz2 |
add $configfile option, set to the default that is set in backupninja
-rw-r--r-- | manifests/mysql.pp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/manifests/mysql.pp b/manifests/mysql.pp index 92f6729..0fae221 100644 --- a/manifests/mysql.pp +++ b/manifests/mysql.pp @@ -11,10 +11,10 @@ # (but be sure to keep the configdir, name, and order the same, so # that we can find the correct file to remove). # -# user, dbusername, dbpassword, dbhost, databases, backupdir, hotcopy, -# sqldump, compress: As defined in the backupninja documentation, with the -# caveat that hotcopy, sqldump, and compress take true/false rather -# than yes/no. +# user, dbusername, dbpassword, dbhost, databases, backupdir, +# hotcopy, sqldump, compress, configfile: As defined in the +# backupninja documentation, with the caveat that hotcopy, sqldump, +# and compress take true/false rather than yes/no. # define backupninja::mysql($configdir = '/etc/backup.d', $order = 10, @@ -27,7 +27,8 @@ define backupninja::mysql($configdir = '/etc/backup.d', $backupdir = false, $hotcopy = false, $sqldump = false, - $compress = false + $compress = false, + $configfile = '/etc/mysql/debian.cnf' ) { # Make sure the directory that the config goes into exists already if defined(File["${configdir}"]) { |