/[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 2290 - (show annotations) (download)
Mon Jan 16 15:25:12 2012 UTC (12 years, 4 months ago) by misc
File size: 472 byte(s)
small cleanup of the mysql module
1 class mysql {
2 class server {
3 package { "mysql": }
4
5 service { mysqld:
6 alias => mysql,
7 subscribe => Package['mysql'],
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