File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,10 @@ password or `/etc/my.cnf` settings, then you must also pass in an override hash:
53
53
``` puppet
54
54
class { '::mysql::server':
55
55
root_password => 'strongpassword',
56
- override_options => { 'mysqld' => { 'max_connections' => '1024' } }
56
+ override_options => $override_options
57
57
}
58
58
```
59
+ (see 'Overrides' below for examples of the hash structure for ` $override_options ` )
59
60
60
61
##Usage
61
62
@@ -70,7 +71,7 @@ The hash structure for overrides in `mysql::server` is as follows:
70
71
``` puppet
71
72
$override_options = {
72
73
'section' => {
73
- 'item' => 'thing',
74
+ 'item' => 'thing',
74
75
}
75
76
}
76
77
```
@@ -218,8 +219,8 @@ The provider to use to manage the service.
218
219
219
220
Optional hash of users to create, which are passed to [ mysql_user] ( #mysql_user ) .
220
221
221
- ``` puppet
222
- $ users = {
222
+ ```
223
+ users => {
223
224
'someuser@localhost' => {
224
225
ensure => 'present',
225
226
max_connections_per_hour => '0',
@@ -235,8 +236,8 @@ $users = {
235
236
236
237
Optional hash of grants, which are passed to [ mysql_grant] ( #mysql_grant ) .
237
238
238
- ``` puppet
239
- $ grants = {
239
+ ```
240
+ grants => {
240
241
'someuser@localhost/somedb.*' => {
241
242
ensure => 'present',
242
243
options => ['GRANT'],
@@ -251,8 +252,8 @@ $grants = {
251
252
252
253
Optional hash of databases to create, which are passed to [ mysql_database] ( #mysql_database ) .
253
254
254
- ``` puppet
255
- $ databases = {
255
+ ```
256
+ databases => {
256
257
'somedb' => {
257
258
ensure => 'present',
258
259
charset => 'utf8',
You can’t perform that action at this time.
0 commit comments