Skip to content

Fix example docs #499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ password or `/etc/my.cnf` settings, then you must also pass in an override hash:
```puppet
class { '::mysql::server':
root_password => 'strongpassword',
override_options => { 'mysqld' => { 'max_connections' => '1024' } }
override_options => $override_options
}
```
(see 'Overrides' below for examples of the hash structure for `$override_options`)

##Usage

Expand All @@ -70,7 +71,7 @@ The hash structure for overrides in `mysql::server` is as follows:
```puppet
$override_options = {
'section' => {
'item' => 'thing',
'item' => 'thing',
}
}
```
Expand Down Expand Up @@ -218,8 +219,8 @@ The provider to use to manage the service.

Optional hash of users to create, which are passed to [mysql_user](#mysql_user).

```puppet
$users = {
```
users => {
'someuser@localhost' => {
ensure => 'present',
max_connections_per_hour => '0',
Expand All @@ -235,8 +236,8 @@ $users = {

Optional hash of grants, which are passed to [mysql_grant](#mysql_grant).

```puppet
$grants = {
```
grants => {
'someuser@localhost/somedb.*' => {
ensure => 'present',
options => ['GRANT'],
Expand All @@ -251,8 +252,8 @@ $grants = {

Optional hash of databases to create, which are passed to [mysql_database](#mysql_database).

```puppet
$databases = {
```
databases => {
'somedb' => {
ensure => 'present',
charset => 'utf8',
Expand Down