diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-March/003037.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-March/003037.html | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-March/003037.html b/zarb-ml/mageia-sysadm/2011-March/003037.html new file mode 100644 index 000000000..ab60b44f4 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-March/003037.html @@ -0,0 +1,103 @@ +<!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%0A%20script%09in%09different%20classes&In-Reply-To=%3C4D76A671.9090806%40damsweb.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="003032.html"> + <LINK REL="Next" HREF="003013.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [1267] update init.pp to split script in different classes</H1> + <B>Damien Lallement</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1267%5D%20update%20init.pp%20to%20split%0A%20script%09in%09different%20classes&In-Reply-To=%3C4D76A671.9090806%40damsweb.net%3E" + TITLE="[Mageia-sysadm] [1267] update init.pp to split script in different classes">mageia at damsweb.net + </A><BR> + <I>Tue Mar 8 22:58:09 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="003032.html">[Mageia-sysadm] [1267] update init.pp to split script in different classes +</A></li> + <LI>Next message: <A HREF="003013.html">[Mageia-sysadm] [1261] update user info +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3037">[ date ]</a> + <a href="thread.html#3037">[ thread ]</a> + <a href="subject.html#3037">[ subject ]</a> + <a href="author.html#3037">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le 08/03/2011 19:49, nicolas vigier a écrit : +><i> On Tue, 08 Mar 2011, Damien Lallement wrote: +</I>><i> +</I>>><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>><i> +</I>><i> Names should not be hostnames, but name of what the class is doing (as +</I>><i> we may move class to other servers later). +</I>><i> +</I>><i> For blogs, it seems there is two different things : +</I>><i> - install of blog software (wordpress) +</I>><i> - install of a script to check new blog posts +</I>><i> +</I>><i> So I think it should be done using two different modules. One can be +</I>><i> called wordpress, as it is doing an install of wordpress. The other one +</I>><i> can be called blogcheck (or maybe you can find a better name for this). +</I>><i> The 2nd one is specific for Mageia, so it should probably go to +</I>><i> deployement instead of modules directory. +</I> +Good POV, I will change the class tomorrow or tonight. +Thank you mister. +-- +Damien Lallement +aka "damsweb" or "coincoin" on IRC and twitter + +<A HREF="http://www.mageia.org">http://www.mageia.org</A> +</PRE> + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="003032.html">[Mageia-sysadm] [1267] update init.pp to split script in different classes +</A></li> + <LI>Next message: <A HREF="003013.html">[Mageia-sysadm] [1261] update user info +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#3037">[ date ]</a> + <a href="thread.html#3037">[ thread ]</a> + <a href="subject.html#3037">[ subject ]</a> + <a href="author.html#3037">[ 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> |