diff modules/mysql/examples/mysql_database.pp @ 26:58d1818c2ded puppet-3.6

Update MySQL module (which adds "staging" module)
author IBBoard <dev@ibboard.co.uk>
date Mon, 09 Mar 2015 01:34:59 +0000
parents
children 668df4711671
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/mysql/examples/mysql_database.pp	Mon Mar 09 01:34:59 2015 +0000
@@ -0,0 +1,17 @@
+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',
+}