|
56 | 56 |
|
57 | 57 | ### Functions
|
58 | 58 |
|
| 59 | +* [`mysql::innobackupex_args`](#mysql--innobackupex_args): This function populates and returns the string of arguments which later gets injected in template. Arguments that return string holds is conditional and decided by the the input given to function. |
59 | 60 | * [`mysql::normalise_and_deepmerge`](#mysql--normalise_and_deepmerge): Recursively merges two or more hashes together, normalises keys with differing use of dashes and underscores.
|
60 | 61 | * [`mysql::password`](#mysql--password): Hash a string as mysql's "PASSWORD()" function would do it
|
61 | 62 | * [`mysql::strip_hash`](#mysql--strip_hash): When given a hash this function strips out all blank entries.
|
@@ -707,7 +708,7 @@ Data type: `Optional[String[1]]`
|
707 | 708 |
|
708 | 709 | The provider to use to manage the service. For Ubuntu, defaults to 'upstart'; otherwise, default is undefined.
|
709 | 710 |
|
710 |
| -Default value: `$mysql::params::server_service_provider` |
| 711 | +Default value: `undef` |
711 | 712 |
|
712 | 713 | ##### <a name="-mysql--server--create_root_user"></a>`create_root_user`
|
713 | 714 |
|
@@ -1197,15 +1198,15 @@ Data type: `String[1]`
|
1197 | 1198 |
|
1198 | 1199 | The character set for the database. Must have the same value as collate to avoid corrective changes. See https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html for charset and collation pairs.
|
1199 | 1200 |
|
1200 |
| -Default value: `'utf8'` |
| 1201 | +Default value: `'utf8mb3'` |
1201 | 1202 |
|
1202 | 1203 | ##### <a name="-mysql--db--collate"></a>`collate`
|
1203 | 1204 |
|
1204 | 1205 | Data type: `String[1]`
|
1205 | 1206 |
|
1206 | 1207 | The collation for the database. Must have the same value as charset to avoid corrective changes. See https://dev.mysql.com/doc/refman/8.0/en/charset-mysql.html for charset and collation pairs.
|
1207 | 1208 |
|
1208 |
| -Default value: `'utf8_general_ci'` |
| 1209 | +Default value: `'utf8mb3_general_ci'` |
1209 | 1210 |
|
1210 | 1211 | ##### <a name="-mysql--db--host"></a>`host`
|
1211 | 1212 |
|
@@ -1606,6 +1607,49 @@ discover the appropriate provider for your platform.
|
1606 | 1607 |
|
1607 | 1608 | ## Functions
|
1608 | 1609 |
|
| 1610 | +### <a name="mysql--innobackupex_args"></a>`mysql::innobackupex_args` |
| 1611 | + |
| 1612 | +Type: Ruby 4.x API |
| 1613 | + |
| 1614 | +This function populates and returns the string of arguments which later gets injected in template. Arguments that return string holds is conditional and decided by the the input given to function. |
| 1615 | + |
| 1616 | +#### `mysql::innobackupex_args(Optional[String] $backupuser, Boolean $backupcompress, Optional[Variant[String, Sensitive[String]]] $backuppassword_unsensitive, Array[String[1]] $backupdatabases, Array[String[1]] $optional_args)` |
| 1617 | + |
| 1618 | +The mysql::innobackupex_args function. |
| 1619 | + |
| 1620 | +Returns: `Variant[String]` String |
| 1621 | +Generated on the basis of provided values. |
| 1622 | + |
| 1623 | +##### `backupuser` |
| 1624 | + |
| 1625 | +Data type: `Optional[String]` |
| 1626 | + |
| 1627 | +The user to use for the backup. |
| 1628 | + |
| 1629 | +##### `backupcompress` |
| 1630 | + |
| 1631 | +Data type: `Boolean` |
| 1632 | + |
| 1633 | +If the backup should be compressed. |
| 1634 | + |
| 1635 | +##### `backuppassword_unsensitive` |
| 1636 | + |
| 1637 | +Data type: `Optional[Variant[String, Sensitive[String]]]` |
| 1638 | + |
| 1639 | +The password to use for the backup. |
| 1640 | + |
| 1641 | +##### `backupdatabases` |
| 1642 | + |
| 1643 | +Data type: `Array[String[1]]` |
| 1644 | + |
| 1645 | +The databases to backup. |
| 1646 | + |
| 1647 | +##### `optional_args` |
| 1648 | + |
| 1649 | +Data type: `Array[String[1]]` |
| 1650 | + |
| 1651 | +Additional arguments to pass to innobackupex. |
| 1652 | + |
1609 | 1653 | ### <a name="mysql--normalise_and_deepmerge"></a>`mysql::normalise_and_deepmerge`
|
1610 | 1654 |
|
1611 | 1655 | Type: Ruby 4.x API
|
|
0 commit comments