module-puppetlabs-mysql/examples/mysql_database.pp
2015-02-09 15:47:12 -08:00

17 lines
336 B
Puppet

class { 'mysql::server':
root_password => 'password'
}
mysql::db{ ['test1', 'test2', 'test3']:
ensure => present,
charset => 'utf8',
require => Class['mysql::server'],
}
mysql::db{ 'test4':
ensure => present,
charset => 'latin1',
}
mysql::db{ 'test5':
ensure => present,
charset => 'binary',
collate => 'binary',
}