2011-05-27 03:11:24 +02:00
|
|
|
class { 'mysql::server':
|
2011-10-31 19:01:57 +01:00
|
|
|
config_hash => {'root_password' => 'password'}
|
2011-05-27 03:11:24 +02:00
|
|
|
}
|
2012-02-09 20:26:00 +01:00
|
|
|
database{ ['test1', 'test2', 'test3']:
|
|
|
|
ensure => present,
|
|
|
|
charset => 'utf8',
|
2011-05-25 08:22:43 +02:00
|
|
|
require => Class['mysql::server'],
|
|
|
|
}
|
2012-02-09 20:26:00 +01:00
|
|
|
database{ 'test4':
|
|
|
|
ensure => present,
|
|
|
|
charset => 'latin1',
|
2011-05-25 08:22:43 +02:00
|
|
|
}
|
2014-09-11 01:55:45 +02:00
|
|
|
database{ 'test5':
|
|
|
|
ensure => present,
|
|
|
|
charset => 'binary',
|
|
|
|
collate => 'binary',
|
|
|
|
}
|