dev/provisioning/modules/mysql/examples/mysql_database.pp
author ymh <ymh.work@gmail.com>
Wed, 15 Feb 2017 22:53:52 +0100
changeset 512 cf4653cf88f2
parent 28 b0b56e0f8c7f
permissions -rw-r--r--
Added tag 0.0.16 for changeset fbf4e1afab01

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