module-puppetlabs-mysql/tests/mysql_database.pp
Dan Bode e1cb227803 (#10391) Update docs to reflect config_hash.
Configuration was moved to config hash param of the mysql::server class.

This was done so that additional parameters can be
added in the future and not have to be added to
both mysql::config and mysql::server as class params

This patch updates the README, docs, and examples to
correctly use the parameter.
2011-10-31 11:01:57 -07:00

12 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',
}