summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-March/003037.html
blob: ab60b44f476e377088363abc56bf430a85af6faf (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
97
98
99
100
101
102
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 &#233;crit :
&gt;<i> On Tue, 08 Mar 2011, Damien Lallement wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> Le 04/03/2011 12:24, Michael Scherer a &#233;crit :
</I>&gt;&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;&gt;<i> Revision: 1267
</I>&gt;&gt;&gt;&gt;<i> Author:   dams
</I>&gt;&gt;&gt;&gt;<i> Date:     2011-03-03 19:01:31 +0100 (Thu, 03 Mar 2011)
</I>&gt;&gt;&gt;&gt;<i> Log Message:
</I>&gt;&gt;&gt;&gt;<i> -----------
</I>&gt;&gt;&gt;&gt;<i> update init.pp to split script in different classes
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> +    class champagne inherits base {
</I>&gt;&gt;&gt;&gt;<i> +        package { ['wget','php-mysql']:
</I>&gt;&gt;&gt;&gt;<i> +            ensure =&gt;   installed
</I>&gt;&gt;&gt;&gt;<i> +        }
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> IMHO, a better class name that &quot;champagne&quot; can be found. Is it used for
</I>&gt;&gt;&gt;<i> test, production ?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> It's in production.
</I>&gt;&gt;<i> I called it &quot;champagne&quot; as this is the &quot;blog&quot; part for this machine. The
</I>&gt;&gt;<i> &quot;user&quot; class is for both &quot;krampouezh&quot; and &quot;champagne&quot;. And if needed I was
</I>&gt;&gt;<i> thinking about creating a class &quot;krampouezh&quot;.
</I>&gt;&gt;<i> I don't see a better name for it. I thought it was clear enough. :-)
</I>&gt;&gt;<i> Any proposals?
</I>&gt;<i>
</I>&gt;<i> Names should not be hostnames, but name of what the class is doing (as
</I>&gt;<i> we may move class to other servers later).
</I>&gt;<i>
</I>&gt;<i> For blogs, it seems there is two different things :
</I>&gt;<i>   - install of blog software (wordpress)
</I>&gt;<i>   - install of a script to check new blog posts
</I>&gt;<i>
</I>&gt;<i> So I think it should be done using two different modules. One can be
</I>&gt;<i> called wordpress, as it is doing an install of wordpress. The other one
</I>&gt;<i> can be called blogcheck (or maybe you can find a better name for this).
</I>&gt;<i> The 2nd one is specific for Mageia, so it should probably go to
</I>&gt;<i> deployement instead of modules directory.
</I>
Good POV, I will change the class tomorrow or tonight.
Thank you mister.
-- 
Damien Lallement
aka &quot;damsweb&quot; or &quot;coincoin&quot; 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>