diff options
author | Micah Anderson <micah@riseup.net> | 2008-06-03 16:41:36 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-06-03 16:41:36 +0000 |
commit | 1abb2e62f1dc2ac374403374e5bfd6511a12de03 (patch) | |
tree | 795f9447513f882f49d1eabf049feb679f1fd761 /manifests | |
parent | 593f7985dd71b90d6d0624b29dae18d74f37ef2c (diff) | |
download | puppet-backupninja-1abb2e62f1dc2ac374403374e5bfd6511a12de03.tar.gz puppet-backupninja-1abb2e62f1dc2ac374403374e5bfd6511a12de03.tar.bz2 |
add vserver support to backupninja config
add vsnames support to mysql config
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/config.pp | 3 | ||||
-rw-r--r-- | manifests/mysql.pp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/manifests/config.pp b/manifests/config.pp index e82ec4d..d530957 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -15,7 +15,8 @@ define backupninja::config($configfile = '/etc/backupninja.conf', $configdir = '/etc/backup.d', $scriptdir = '/usr/share/backupninja', $libdir = '/usr/lib/backupninja', - $usecolors = true + $usecolors = true, + $vserver = false ) { file { $configfile: content => template('backupninja/backupninja.conf.erb'), diff --git a/manifests/mysql.pp b/manifests/mysql.pp index e285691..71cf5cb 100644 --- a/manifests/mysql.pp +++ b/manifests/mysql.pp @@ -25,7 +25,8 @@ define backupninja::mysql($order = 10, $hotcopy = false, $sqldump = false, $compress = false, - $configfile = '/etc/mysql/debian.cnf' + $configfile = '/etc/mysql/debian.cnf', + $vserver = false ) { include backupninja::client file { "${backupninja::client::configdir}/${order}_${name}.mysql": |