summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-March/003032.html
blob: ce8580e25ef5013ab4c32ef529df221ce9211379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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:

&gt;<i> Le 04/03/2011 12:24, Michael Scherer a &#233;crit :
</I>&gt;&gt;<i> Le jeudi 03 mars 2011 &#224; 19:01 +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> a &#233;crit :
</I>&gt;&gt;&gt;<i> Revision: 1267
</I>&gt;&gt;&gt;<i> Author:   dams
</I>&gt;&gt;&gt;<i> Date:     2011-03-03 19:01:31 +0100 (Thu, 03 Mar 2011)
</I>&gt;&gt;&gt;<i> Log Message:
</I>&gt;&gt;&gt;<i> -----------
</I>&gt;&gt;&gt;<i> update init.pp to split script in different classes
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> +    class champagne inherits base {
</I>&gt;&gt;&gt;<i> +        package { ['wget','php-mysql']:
</I>&gt;&gt;&gt;<i> +            ensure =&gt;  installed
</I>&gt;&gt;&gt;<i> +        }
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> IMHO, a better class name that &quot;champagne&quot; can be found. Is it used for
</I>&gt;&gt;<i> test, production ?
</I>&gt;<i>
</I>&gt;<i> It's in production.
</I>&gt;<i> I called it &quot;champagne&quot; as this is the &quot;blog&quot; part for this machine. The 
</I>&gt;<i> &quot;user&quot; class is for both &quot;krampouezh&quot; and &quot;champagne&quot;. And if needed I was 
</I>&gt;<i> thinking about creating a class &quot;krampouezh&quot;.
</I>&gt;<i> I don't see a better name for it. I thought it was clear enough. :-)
</I>&gt;<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>