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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote:
><i> Le mardi 15 mars 2011 à 22:29 +0000, Pascal Terjan a écrit :
</I>>><i> I started running youri-check on rabbit and created an initial
</I>>><i> (untested) puppet module
</I>>><i> I attached the patch and welcome any comments
</I>><i>
</I>><i> The module look good, I just have some questions.
</I>><i>
</I>><i> Index: modules/youri-check/manifests/init.pp
</I>><i> ===================================================================
</I>><i> --- modules/youri-check/manifests/init.pp       (revision 0)
</I>><i> +++ modules/youri-check/manifests/init.pp       (revision 0)
</I>><i> @@ -0,0 +1,30 @@
</I>><i> +class youri_check {
</I>><i>
</I>><i> I think the class should be called youri-check, or the file in
</I>><i> youri_check ( iirc, not sure if this is a problem ).
</I>><i>
</I>><i> +    $user = 'youri'
</I>><i> +    $home = '/var/tmp/youri'
</I>><i> +    $outdir = "$home/www"
</I>><i> +    $config = "$home/check.conf"
</I>><i>
</I>><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
><i> Index: modules/youri-check/templates/check.conf
</I>><i> ===================================================================
</I>><i> --- modules/youri-check/templates/check.conf    (revision 0)
</I>><i> +++ modules/youri-check/templates/check.conf    (revision 0)
</I>><i> @@ -0,0 +1,85 @@
</I>><i> +# vim:ft=yaml:et:sw=4
</I>><i> +
</I>><i> +# helper variables
</I>><i> +mirror: /distrib/mageia/distrib/cauldron
</I>><i> +mirror_i586: ${mirror}/i586/media
</I>><i> +mirror_x86_64: ${mirror}/x86_64/media
</I>><i> +
</I>><i> +# resultset definition
</I>><i> +resultset:
</I>><i> +    class: Youri::Check::Resultset::DBI
</I>><i> +    options:
</I>><i> +        driver: SQLite
</I>><i> +        host: localhost
</I>><i> +        base: youri.db
</I>><i>
</I>><i> Where will it be exactly  ? in $HOME ?
</I>
In the place from where the corn is run, so yes
><i> +# media definitions
</I>><i> +medias:
</I>><i> +    core.i586:
</I>><i> +        class: Youri::Media::URPM
</I>><i> +        options:
</I>><i> +            name: core
</I>><i> +            type: binary
</I>><i> +            path: ${mirror_i586}/core
</I>><i> +            hdlist: ${mirror_i586}/media_info/hdlist_core.cz
</I>><i> +            options:
</I>><i> +                dependencies:
</I>><i> +                    allowed:
</I>><i> +                        - core.i586
</I>><i> +                missing:
</I>><i> +                    allowed:
</I>><i> +                        - core.sources
</I>><i>
</I>><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>
|