Skip to content

Commit 207ba9c

Browse files
authored
Merge pull request #1304 from cspeterson/master
README: update params in backup examples
2 parents 388c188 + 85f5fbb commit 207ba9c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ class { 'mysql::server::backup':
442442
backuppassword => 'mypassword',
443443
backupdir => '/tmp/backups',
444444
provider => 'xtrabackup',
445-
rotate => 15,
445+
backuprotate => 15,
446446
execpath => '/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin',
447447
time => ['23', '15'],
448448
}
@@ -480,7 +480,7 @@ class { 'mysql::server::backup':
480480
backupdir => '/tmp/backups',
481481
provider => 'xtrabackup',
482482
incremental_backups => false,
483-
rotate => 5,
483+
backuprotate => 5,
484484
execpath => '/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin',
485485
time => ['23', '15'],
486486
}

REFERENCE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -712,15 +712,15 @@ The following parameters are available in the `mysql::server::backup` class.
712712

713713
Data type: `Any`
714714

715-
MySQL user with backup administrator privileges.
715+
MySQL user to create with backup administrator privileges.
716716

717717
Default value: `undef`
718718

719719
##### `backuppassword`
720720

721721
Data type: `Any`
722722

723-
Password for `backupuser`.
723+
Password to create for `backupuser`.
724724

725725
Default value: `undef`
726726

manifests/server/backup.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
# }
1818
#
1919
# @param backupuser
20-
# MySQL user with backup administrator privileges.
20+
# MySQL user to create with backup administrator privileges.
2121
# @param backuppassword
22-
# Password for `backupuser`.
22+
# Password to create for `backupuser`.
2323
# @param backupdir
2424
# Directory to store backup.
2525
# @param backupdirmode

0 commit comments

Comments
 (0)