diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000601.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000601.html | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000601.html b/zarb-ml/mageia-sysadm/2010-November/000601.html new file mode 100644 index 000000000..3cf12cfac --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000601.html @@ -0,0 +1,126 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [276] Merge two modules: mysql and blog + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B276%5D%20Merge%20two%20modules%3A%20mysql%20and%20blog&In-Reply-To=%3C20101118095041.2DD843FBCB%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000600.html"> + <LINK REL="Next" HREF="000613.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [276] Merge two modules: mysql and blog</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B276%5D%20Merge%20two%20modules%3A%20mysql%20and%20blog&In-Reply-To=%3C20101118095041.2DD843FBCB%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [276] Merge two modules: mysql and blog">root at mageia.org + </A><BR> + <I>Thu Nov 18 10:50:41 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000600.html">[Mageia-sysadm] [123] Customize a little for mageia +</A></li> + <LI>Next message: <A HREF="000613.html">[Mageia-sysadm] [276] Merge two modules: mysql and blog +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#601">[ date ]</a> + <a href="thread.html#601">[ thread ]</a> + <a href="subject.html#601">[ subject ]</a> + <a href="author.html#601">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Revision: 276 +Author: dams +Date: 2010-11-18 10:50:40 +0100 (Thu, 18 Nov 2010) +Log Message: +----------- +Merge two modules: mysql and blog + +Modified Paths: +-------------- + puppet/manifests/nodes.pp + puppet/modules/blog/manifests/init.pp + +Removed Paths: +------------- + puppet/modules/mysql/ + +Modified: puppet/manifests/nodes.pp +=================================================================== +--- puppet/manifests/nodes.pp 2010-11-18 00:57:00 UTC (rev 275) ++++ puppet/manifests/nodes.pp 2010-11-18 09:50:40 UTC (rev 276) +@@ -111,10 +111,9 @@ + # - setup blog + # + include default_mageia_server ++ timezone::timezone { "Europe/Paris": } + include apache::base + include apache::mod_php +- include mysql +- timezone::timezone { "Europe/Paris": } + include blog + } + + +Modified: puppet/modules/blog/manifests/init.pp +=================================================================== +--- puppet/modules/blog/manifests/init.pp 2010-11-18 00:57:00 UTC (rev 275) ++++ puppet/modules/blog/manifests/init.pp 2010-11-18 09:50:40 UTC (rev 276) +@@ -1,6 +1,20 @@ + #TODO: + # - add the creation of the user 'blog' in puppet +-class blog { ++class mysql { ++ package { 'mysql': ++ ensure => installed ++ } ++ package { 'php-mysql': ++ ensure => installed ++ } ++ ++ service { mysqld: ++ ensure => running, ++ subscribe => Package["mysql"], ++ } ++} ++ ++class check_new-blog-post { + package { 'wget': + ensure => installed + } +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: </pipermail/mageia-sysadm/attachments/20101118/097fa3d8/attachment.html> +</PRE> + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000600.html">[Mageia-sysadm] [123] Customize a little for mageia +</A></li> + <LI>Next message: <A HREF="000613.html">[Mageia-sysadm] [276] Merge two modules: mysql and blog +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#601">[ date ]</a> + <a href="thread.html#601">[ thread ]</a> + <a href="subject.html#601">[ subject ]</a> + <a href="author.html#601">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |