13 lines
263 B
Puppet
13 lines
263 B
Puppet
class { 'mysql::server':
|
|
config_hash => {'root_password' => 'password'}
|
|
}
|
|
database{ ['test1', 'test2', 'test3']:
|
|
ensure => present,
|
|
charset => 'utf8',
|
|
require => Class['mysql::server'],
|
|
}
|
|
database{ 'test4':
|
|
ensure => present,
|
|
charset => 'latin1',
|
|
}
|