Created
March 15, 2013 15:06
-
-
Save romaricpascal/5170496 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makes sure MySQL is available on the server | |
class { 'mysql::server': | |
config_hash => { | |
'root_password' => 'OMG-The-r0ot-p@sSword-in-Pl@1n-T3xt' | |
} | |
} | |
# And creates the database | |
mysql::db {'awesome-project.local': | |
user => 'awesome-project', | |
password => '@we5omE-pAs5w0rD', | |
host => 'localhost', | |
grant => ['all'], | |
require => Class['mysql::server'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment