view modules/mysql/examples/mysql_database.pp @ 165:45a993d78e11 puppet-3.6

Remove GG site information
author IBBoard <dev@ibboard.co.uk>
date Wed, 03 May 2017 20:59:33 +0100
parents 58d1818c2ded
children 668df4711671
line wrap: on
line source

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