diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-March/003032.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-March/003032.html | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-March/003032.html b/zarb-ml/mageia-sysadm/2011-March/003032.html new file mode 100644 index 000000000..ce8580e25 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-March/003032.html @@ -0,0 +1,96 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [1267] update init.pp to split script in different classes + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1267%5D%20update%20init.pp%20to%20split%20script%0A%09in%09different%20classes&In-Reply-To=%3C20110308184941.GI21938%40mars-attacks.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003031.html"> + <LINK REL="Next" HREF="003037.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [1267] update init.pp to split script in different classes</H1> + <B>nicolas vigier</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1267%5D%20update%20init.pp%20to%20split%20script%0A%09in%09different%20classes&In-Reply-To=%3C20110308184941.GI21938%40mars-attacks.org%3E" + TITLE="[Mageia-sysadm] [1267] update init.pp to split script in different classes">boklm at mars-attacks.org + </A><BR> + <I>Tue Mar 8 19:49:41 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003031.html">[Mageia-sysadm] [1267] update init.pp to split script in different classes +</A></li> + <LI>Next message: <A HREF="003037.html">[Mageia-sysadm] [1267] update init.pp to split script in different classes +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3032">[ date ]</a> + <a href="thread.html#3032">[ thread ]</a> + <a href="subject.html#3032">[ subject ]</a> + <a href="author.html#3032">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Tue, 08 Mar 2011, Damien Lallement wrote: + +><i> Le 04/03/2011 12:24, Michael Scherer a écrit : +</I>>><i> Le jeudi 03 mars 2011 à 19:01 +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> a écrit : +</I>>>><i> Revision: 1267 +</I>>>><i> Author: dams +</I>>>><i> Date: 2011-03-03 19:01:31 +0100 (Thu, 03 Mar 2011) +</I>>>><i> Log Message: +</I>>>><i> ----------- +</I>>>><i> update init.pp to split script in different classes +</I>>><i> +</I>>><i> +</I>>>><i> + class champagne inherits base { +</I>>>><i> + package { ['wget','php-mysql']: +</I>>>><i> + ensure => installed +</I>>>><i> + } +</I>>><i> +</I>>><i> IMHO, a better class name that "champagne" can be found. Is it used for +</I>>><i> test, production ? +</I>><i> +</I>><i> It's in production. +</I>><i> I called it "champagne" as this is the "blog" part for this machine. The +</I>><i> "user" class is for both "krampouezh" and "champagne". And if needed I was +</I>><i> thinking about creating a class "krampouezh". +</I>><i> I don't see a better name for it. I thought it was clear enough. :-) +</I>><i> Any proposals? +</I> +Names should not be hostnames, but name of what the class is doing (as +we may move class to other servers later). + +For blogs, it seems there is two different things : + - install of blog software (wordpress) + - install of a script to check new blog posts + +So I think it should be done using two different modules. One can be +called wordpress, as it is doing an install of wordpress. The other one +can be called blogcheck (or maybe you can find a better name for this). +The 2nd one is specific for Mageia, so it should probably go to +deployement instead of modules directory. + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003031.html">[Mageia-sysadm] [1267] update init.pp to split script in different classes +</A></li> + <LI>Next message: <A HREF="003037.html">[Mageia-sysadm] [1267] update init.pp to split script in different classes +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3032">[ date ]</a> + <a href="thread.html#3032">[ thread ]</a> + <a href="subject.html#3032">[ subject ]</a> + <a href="author.html#3032">[ 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> |