|
50 | 50 | # Specify the path in which mysql has been installed if done in the non-standard bin/sbin path.
|
51 | 51 | #
|
52 | 52 | define mysql::db (
|
53 |
| - String[1] $user, |
54 |
| - Variant[String, Sensitive[String]] $password, |
55 |
| - String[1] $plugin = 'mysql_native_password', |
56 |
| - Optional[Array[String[1]]] $tls_options = undef, |
57 |
| - String $dbname = $name, |
58 |
| - String[1] $charset = 'utf8', |
59 |
| - String[1] $collate = 'utf8_general_ci', |
60 |
| - String[1] $host = 'localhost', |
61 |
| - Variant[String[1], Array[String[1]]] $grant = 'ALL', |
62 |
| - Optional[Variant[String[1], Array[String[1]]]] $grant_options = undef, |
63 |
| - Optional[Array] $sql = undef, |
64 |
| - Boolean $enforce_sql = false, |
65 |
| - Enum['absent', 'present'] $ensure = 'present', |
66 |
| - Integer $import_timeout = 300, |
67 |
| - Enum['cat', 'zcat', 'bzcat'] $import_cat_cmd = 'cat', |
68 |
| - Optional[String] $mysql_exec_path = undef, |
| 53 | + String[1] $user, |
| 54 | + Variant[String, Sensitive[String]] $password, |
| 55 | + String[1] $plugin = 'mysql_native_password', |
| 56 | + Optional[Array[String[1]]] $tls_options = undef, |
| 57 | + String $dbname = $name, |
| 58 | + String[1] $charset = 'utf8', |
| 59 | + String[1] $collate = 'utf8_general_ci', |
| 60 | + String[1] $host = 'localhost', |
| 61 | + Variant[String[1], Array[String[1]]] $grant = 'ALL', |
| 62 | + Optional[Variant[String[1], Array[String[1]]]] $grant_options = undef, |
| 63 | + Optional[Array] $sql = undef, |
| 64 | + Boolean $enforce_sql = false, |
| 65 | + Enum['absent', 'present'] $ensure = 'present', |
| 66 | + Integer $import_timeout = 300, |
| 67 | + Enum['cat', 'zcat', 'bzcat'] $import_cat_cmd = 'cat', |
| 68 | + Optional[String] $mysql_exec_path = undef, |
69 | 69 | ) {
|
70 | 70 | include 'mysql::client'
|
71 | 71 |
|
|
0 commit comments