Skip to content

Commit 829d6c5

Browse files
author
Daniel Quackenbush
committed
rubocop fixes and documentation
1 parent 016632e commit 829d6c5

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ Plugins can be installed by using the `mysql_plugin` defined type. See `examples
421421
* `mysql::client::install`: Installs MySQL client.
422422
* `mysql::backup::mysqldump`: Implements mysqldump backups.
423423
* `mysql::backup::mysqlbackup`: Implements backups with Oracle MySQL Enterprise Backup.
424-
* `mysql::backup::xtrabackup`: Implements backups with XtraBackup from Percona.
424+
* `mysql::backup::xtrabackup`: Implements backups with XtraBackup from Percona or Mariabackup.
425425

426426
### Parameters
427427

REFERENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _Private Classes_
1818

1919
* `mysql::backup::mysqlbackup`: Manage the mysqlbackup client.
2020
* `mysql::backup::mysqldump`: "Provider" for mysqldump
21-
* `mysql::backup::xtrabackup`: "Provider" for Percona XtraBackup
21+
* `mysql::backup::xtrabackup`: "Provider" for Percona XtraBackup or MariaBackup
2222
* `mysql::bindings::client_dev`: Private class for installing client development bindings
2323
* `mysql::bindings::daemon_dev`: Private class for installing daemon development bindings
2424
* `mysql::bindings::java`: Private class for installing java language bindings.

manifests/server/backup.pp

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
# backuppassword => 'mypassword',
1111
# backupdir => '/tmp/backups',
1212
# }
13+
# class { 'mysql::server::backup':
14+
# backupmethod => 'mariabackup',
15+
# provider => 'xtrabackup',
16+
# backupdir => '/tmp/backups',
17+
# }
1318
#
1419
# @param backupuser
1520
# MySQL user with backup administrator privileges.
@@ -25,6 +30,8 @@
2530
# Group owner for the backup directory. This parameter is passed directly to the file resource.
2631
# @param backupcompress
2732
# Whether or not to compress the backup (when using the mysqldump provider)
33+
# @param backupmethod
34+
# The execution binary for backing up. ex. mysqldump, xtrabackup, mariabackup
2835
# @param backuprotate
2936
# Backup rotation interval in 24 hour periods.
3037
# @param ignore_events

spec/classes/mysql_server_backup_spec.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,7 @@ class { 'mysql::server': }
401401
context 'with mariabackup' do
402402
let(:params) do
403403
default_params.merge(provider: 'xtrabackup',
404-
backupmethod: 'mariabackup'
405-
)
404+
backupmethod: 'mariabackup')
406405
end
407406

408407
it 'contain the mariabackup executor' do

0 commit comments

Comments
 (0)