Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
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
12 changes: 6 additions & 6 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ For detailed info about the logic and usage patterns of Example42 modules read R

* Create a new grant and database

mysql::grant { "db1":
mysql_privileges => "ALL",
mysql_password => "pwd",
mysql_db => "db1",
mysql_user => "db1",
mysql_host => "host"
mysql::grant { 'db1':
mysql_privileges => 'ALL',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another little bit, I didn't mention, the => should all be aligned at the same column, so:
mysql_privileges => 'ALL',
mysql_password => 'pwd',
mysql_db => 'db1',
(You can copy and paste the code fragment on a test .pp file and run puppet-lint on it to verify everything... )

mysql_password => 'pwd',
mysql_db => 'db1',
mysql_user => 'db1',
mysql_host => 'host',
}


Expand Down