summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-March/003124.html
blob: c7c06ccecd82582c5e579dedd767b9429840f149 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] Youri Check
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Youri%20Check&In-Reply-To=%3CAANLkTi%3D%3D%2BxXKD0Wt2DFgXcHndJXKNQYhq7w36wYJDshu%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="003123.html">
   <LINK REL="Next"  HREF="003127.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] Youri Check</H1>
    <B>Pascal Terjan</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Youri%20Check&In-Reply-To=%3CAANLkTi%3D%3D%2BxXKD0Wt2DFgXcHndJXKNQYhq7w36wYJDshu%40mail.gmail.com%3E"
       TITLE="[Mageia-sysadm] Youri Check">pterjan at gmail.com
       </A><BR>
    <I>Wed Mar 16 00:05:31 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="003123.html">[Mageia-sysadm] Youri Check
</A></li>
        <LI>Next message: <A HREF="003127.html">[Mageia-sysadm] pkg removal: perl-Dist-Zilla-PluginBundle-OLIVER
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3124">[ date ]</a>
              <a href="thread.html#3124">[ thread ]</a>
              <a href="subject.html#3124">[ subject ]</a>
              <a href="author.html#3124">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Tue, Mar 15, 2011 at 22:57, Michael Scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>&gt; wrote:
&gt;<i> Le mardi 15 mars 2011 &#224; 22:29 +0000, Pascal Terjan a &#233;crit :
</I>&gt;&gt;<i> I started running youri-check on rabbit and created an initial
</I>&gt;&gt;<i> (untested) puppet module
</I>&gt;&gt;<i> I attached the patch and welcome any comments
</I>&gt;<i>
</I>&gt;<i> The module look good, I just have some questions.
</I>&gt;<i>
</I>&gt;<i> Index: modules/youri-check/manifests/init.pp
</I>&gt;<i> ===================================================================
</I>&gt;<i> --- modules/youri-check/manifests/init.pp &#160; &#160; &#160; (revision 0)
</I>&gt;<i> +++ modules/youri-check/manifests/init.pp &#160; &#160; &#160; (revision 0)
</I>&gt;<i> @@ -0,0 +1,30 @@
</I>&gt;<i> +class youri_check {
</I>&gt;<i>
</I>&gt;<i> I think the class should be called youri-check, or the file in
</I>&gt;<i> youri_check ( iirc, not sure if this is a problem ).
</I>&gt;<i>
</I>&gt;<i> + &#160; &#160;$user = 'youri'
</I>&gt;<i> + &#160; &#160;$home = '/var/tmp/youri'
</I>&gt;<i> + &#160; &#160;$outdir = &quot;$home/www&quot;
</I>&gt;<i> + &#160; &#160;$config = &quot;$home/check.conf&quot;
</I>&gt;<i>
</I>&gt;<i> Why not in /etc ?
</I>
I did not want replace the sample one with this one as
- we may want to have several ones later (like one for tests on stable
that run less often)
- people running the command would then use this one which will not
work for them as it lists an output dir and no longer have the sample
one to copy

But actually it can still be in /etc/youri with a different name

&gt;<i> Index: modules/youri-check/templates/check.conf
</I>&gt;<i> ===================================================================
</I>&gt;<i> --- modules/youri-check/templates/check.conf &#160; &#160;(revision 0)
</I>&gt;<i> +++ modules/youri-check/templates/check.conf &#160; &#160;(revision 0)
</I>&gt;<i> @@ -0,0 +1,85 @@
</I>&gt;<i> +# vim:ft=yaml:et:sw=4
</I>&gt;<i> +
</I>&gt;<i> +# helper variables
</I>&gt;<i> +mirror: /distrib/mageia/distrib/cauldron
</I>&gt;<i> +mirror_i586: ${mirror}/i586/media
</I>&gt;<i> +mirror_x86_64: ${mirror}/x86_64/media
</I>&gt;<i> +
</I>&gt;<i> +# resultset definition
</I>&gt;<i> +resultset:
</I>&gt;<i> + &#160; &#160;class: Youri::Check::Resultset::DBI
</I>&gt;<i> + &#160; &#160;options:
</I>&gt;<i> + &#160; &#160; &#160; &#160;driver: SQLite
</I>&gt;<i> + &#160; &#160; &#160; &#160;host: localhost
</I>&gt;<i> + &#160; &#160; &#160; &#160;base: youri.db
</I>&gt;<i>
</I>&gt;<i> Where will it be exactly &#160;? in $HOME ?
</I>
In the place from where the corn is run, so yes

&gt;<i> +# media definitions
</I>&gt;<i> +medias:
</I>&gt;<i> + &#160; &#160;core.i586:
</I>&gt;<i> + &#160; &#160; &#160; &#160;class: Youri::Media::URPM
</I>&gt;<i> + &#160; &#160; &#160; &#160;options:
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160;name: core
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160;type: binary
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160;path: ${mirror_i586}/core
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160;hdlist: ${mirror_i586}/media_info/hdlist_core.cz
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160;options:
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;dependencies:
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;allowed:
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;- core.i586
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;missing:
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;allowed:
</I>&gt;<i> + &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;- core.sources
</I>&gt;<i>
</I>&gt;<i> I guess the other directory will be added later ?
</I>
Yeah it is annoying stuff easy to add when things work
</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="003123.html">[Mageia-sysadm] Youri Check
</A></li>
	<LI>Next message: <A HREF="003127.html">[Mageia-sysadm] pkg removal: perl-Dist-Zilla-PluginBundle-OLIVER
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3124">[ date ]</a>
              <a href="thread.html#3124">[ thread ]</a>
              <a href="subject.html#3124">[ subject ]</a>
              <a href="author.html#3124">[ 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>