]> gitweb.fluxo.info Git - puppet-backupninja.git/commitdiff
add $configfile option, set to the default that is set in backupninja
authorMicah Anderson <micah@riseup.net>
Wed, 6 Feb 2008 21:39:21 +0000 (21:39 +0000)
committerMicah Anderson <micah@riseup.net>
Wed, 6 Feb 2008 21:39:21 +0000 (21:39 +0000)
manifests/mysql.pp

index 92f67295e359511ca246e7cebb4d41ee9435388d..0fae221f10814708e9f2795c01503c9ab6d7052f 100644 (file)
 #      (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}"]) {