/[adm]/puppet/modules/mysql/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/mysql/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3421 - (show annotations) (download)
Tue Mar 18 01:59:33 2014 UTC (9 years, 11 months ago) by dams
File size: 476 byte(s)
update 'mysql' to 'mariadb' as 'mysql' package no longer exists in mga2
1 class mysql {
2 class server {
3 package { "mariadb": }
4
5 service { mysqld:
6 alias => mysql,
7 subscribe => Package['mariadb'],
8 }
9
10 # file { "/etc/my.cnf":
11 #
12 # }
13 }
14
15 define database() {
16 exec { "mysqladmin create $name":
17 user => root,
18 # not sure if /dev/null is needed
19 unless => "mysqlshow $name"
20 }
21 }
22 # define user($password) {
23 #
24 # }
25 }

  ViewVC Help
Powered by ViewVC 1.1.30