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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [sysadmin-commits] [2406] First steps to create infra_1 distro
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-commits%5D%20%5B2406%5D%20First%20steps%20to%20create%0A%20infra_1%20distro&In-Reply-To=%3CCA%2BCX%2BbiO_jKR%2B%2Bc-_FpyUa9tNvyCq3CzVqHSXV39GGdnCeC3sg%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="004204.html">
<LINK REL="Next" HREF="004206.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [sysadmin-commits] [2406] First steps to create infra_1 distro</H1>
<B>Pascal Terjan</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5Bsysadmin-commits%5D%20%5B2406%5D%20First%20steps%20to%20create%0A%20infra_1%20distro&In-Reply-To=%3CCA%2BCX%2BbiO_jKR%2B%2Bc-_FpyUa9tNvyCq3CzVqHSXV39GGdnCeC3sg%40mail.gmail.com%3E"
TITLE="[Mageia-sysadm] [sysadmin-commits] [2406] First steps to create infra_1 distro">pterjan at gmail.com
</A><BR>
<I>Mon Feb 13 23:39:52 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="004204.html">[Mageia-sysadm] [sysadmin-commits] [2406] First steps to create infra_1 distro
</A></li>
<LI>Next message: <A HREF="004206.html">[Mageia-sysadm] [sysadmin-commits] [2402] Re-enable build cron ( and run ulri before emi to improve uploads grouping)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4205">[ date ]</a>
<a href="thread.html#4205">[ thread ]</a>
<a href="subject.html#4205">[ subject ]</a>
<a href="author.html#4205">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Mon, Feb 13, 2012 at 22:16, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">misc at zarb.org</A>> wrote:
><i> Le lundi 13 février 2012 à 23:02 +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> a écrit :
</I>>><i> Revision
</I>>><i>         2406
</I>>><i> Author
</I>>><i>         pterjan
</I>>><i> Date
</I>>><i>         2012-02-13 23:02:18 +0100 (Mon, 13 Feb 2012)
</I>>><i> Log Message
</I>>><i> First steps to create infra_1 distro
</I>>><i> Modified Paths
</I>>><i>       * puppet/modules/buildsystem/manifests/create_upload_dir.rb
</I>>><i>       * puppet/modules/buildsystem/templates/mgarepo.conf
</I>>><i>       * puppet/modules/buildsystem/templates/submit-todo.conf
</I>>><i>       * puppet/modules/buildsystem/templates/submit-upload.conf
</I>>><i> Added Paths
</I>>><i>       * puppet/modules/buildsystem/templates/iurt/infra_1.conf
</I>>><i> Modified: puppet/modules/buildsystem/manifests/create_upload_dir.rb
</I>>><i> ===================================================================
</I>>><i> --- puppet/modules/buildsystem/manifests/create_upload_dir.rb
</I>><i> 2012-02-13 21:01:00 UTC (rev 2405)
</I>>><i> +++ puppet/modules/buildsystem/manifests/create_upload_dir.rb
</I>><i> 2012-02-13 22:02:18 UTC (rev 2406)
</I>>><i> @@ -25,5 +25,12 @@
</I>>><i>                  end
</I>>><i>              end
</I>>><i>          end
</I>>><i> +
</I>>><i> +     rel 'infra_1'
</I>>><i> +     rep = 'core'
</I>>><i> +     med = 'release'
</I>>><i> +     file [@name, st, rel].join('/'), :ensure => 'directory', :owner
</I>><i> => @owner, :group => @group
</I>>><i> +     file [@name, st, rel, rep].join('/'), :ensure =>
</I>><i> 'directory', :owner => @owner, :group => @group
</I>>><i> +     file [@name, st, rel, rep, med].join('/'), :ensure =>
</I>><i> 'directory', :owner => @owner, :group => @group, :mode => 0775
</I>>><i>      end
</I>>><i>  end
</I>><i>
</I>><i> For future proofing, i guess we could have a single declaration of the
</I>><i> version ( ie 1, but later 2, 3 ), and then use it everywhere .
</I>
I'll improve this script to define media per distro and not have
specific code for this one.
>><i>
</I>>><i>
</I>>><i> Modified: puppet/modules/buildsystem/templates/submit-upload.conf
</I>>><i> ===================================================================
</I>>><i> --- puppet/modules/buildsystem/templates/submit-upload.conf
</I>><i> 2012-02-13 21:01:00 UTC (rev 2405)
</I>>><i> +++ puppet/modules/buildsystem/templates/submit-upload.conf
</I>><i> 2012-02-13 22:02:18 UTC (rev 2406)
</I>>><i> @@ -17,6 +17,8 @@
</I>>><i>          svn: svn+<A HREF="ssh://svn.<%=">ssh://svn.<%=</A> domain %>/svn/packages/cauldron/
</I>>><i>          1:
</I>>><i>              arch: i586 x86_64
</I>>><i> +        infra_1:
</I>>><i> +            arch: i586 x86_64
</I>>><i>          cauldron:
</I>>><i>              arch: i586 x86_64
</I>><i>
</I>><i> I wonder if we could refactor this ( ie, have some alias for i586
</I>><i> x86_64, to ease the roll out of arm ). The same goes for refactoring, by
</I>><i> the way.
</I>><i>
</I>>><i> @@ -165,10 +182,12 @@
</I>>><i>                 authorized_arches: none
</I>>><i>                 mode: freeze
</I>>><i>
</I>>><i> +           infra_1:
</I>>><i> +               authorized_users: ^blino|boklm|buchan|colin|dams|
</I>><i> dmorgan|misc|nanardon|pterjan|tmb$
</I>>><i> +               mode: freeze
</I>>><i> +
</I>><i>
</I>><i> Could we have a group here ( instead of a list of user ) ?
</I>><i> ( if not, I think it would be quite easy to add ).
</I>
The code does not support it currently
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004204.html">[Mageia-sysadm] [sysadmin-commits] [2406] First steps to create infra_1 distro
</A></li>
<LI>Next message: <A HREF="004206.html">[Mageia-sysadm] [sysadmin-commits] [2402] Re-enable build cron ( and run ulri before emi to improve uploads grouping)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4205">[ date ]</a>
<a href="thread.html#4205">[ thread ]</a>
<a href="subject.html#4205">[ subject ]</a>
<a href="author.html#4205">[ 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>
|