[Mageia-sysadm] [231] Add mysql
root at mageia.org
root at mageia.org
Wed Nov 10 15:00:37 CET 2010
Revision: 231
Author: dams
Date: 2010-11-10 15:00:36 +0100 (Wed, 10 Nov 2010)
Log Message:
-----------
Add mysql
Modified Paths:
--------------
puppet/manifests/nodes.pp
Added Paths:
-----------
puppet/modules/mysql/
puppet/modules/mysql/manifests/
puppet/modules/mysql/manifests/init.pp
puppet/modules/mysql/templates/
Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp 2010-11-10 12:46:49 UTC (rev 230)
+++ puppet/manifests/nodes.pp 2010-11-10 14:00:36 UTC (rev 231)
@@ -111,6 +111,7 @@
include default_mageia_server
include apache::base
include apache::mod_php
+ include mysql
timezone::timezone { "Europe/Paris": }
include blog
}
Added: puppet/modules/mysql/manifests/init.pp
===================================================================
--- puppet/modules/mysql/manifests/init.pp (rev 0)
+++ puppet/modules/mysql/manifests/init.pp 2010-11-10 14:00:36 UTC (rev 231)
@@ -0,0 +1,14 @@
+class mysql {
+
+ package { 'mysql':
+ ensure => installed
+ }
+ package { 'mod_mysql':
+ ensure => installed
+ }
+
+ service { mysqld:
+ ensure => running,
+ subscribe => Package["mysql"],
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101110/7aecd714/attachment.html>
More information about the Mageia-sysadm
mailing list