[Mageia-sysadm] [872] - add a main mirror modules ( mirror was already used ), and add content
root at mageia.org
root at mageia.org
Fri Jan 21 15:10:24 CET 2011
Revision: 872
Author: misc
Date: 2011-01-21 15:10:24 +0100 (Fri, 21 Jan 2011)
Log Message:
-----------
- add a main mirror modules ( mirror was already used ), and add content
there ( mainly READMEs, and directory to ease replication of a fake
test mirror on vm )
Added Paths:
-----------
puppet/deployment/main_mirror/
puppet/deployment/main_mirror/files/
puppet/deployment/main_mirror/files/README
puppet/deployment/main_mirror/files/mirror/
puppet/deployment/main_mirror/files/mirror/README.mirroring
puppet/deployment/main_mirror/files/mirror/README.paths
puppet/deployment/main_mirror/manifests/
puppet/deployment/main_mirror/manifests/init.pp
Added: puppet/deployment/main_mirror/files/README
===================================================================
--- puppet/deployment/main_mirror/files/README (rev 0)
+++ puppet/deployment/main_mirror/files/README 2011-01-21 14:10:24 UTC (rev 872)
@@ -0,0 +1,24 @@
+Description of the directory
+
+bootstrap
+---------
+
+Used only for the initial release and bootstrapping.
+
+mageiatools
+-----------
+
+Mandriva repository holding our own tools, should be merged
+with cooker ( and others distribution too ).
+
+mandriva
+--------
+
+Local 2010.1 mandriva mirror used for initial bootstrapping, should be
+removed once bootstrap is finished.
+
+mirror
+------
+
+Main mageia mirror, shared on rsync for everybody.
+
Added: puppet/deployment/main_mirror/files/mirror/README.mirroring
===================================================================
--- puppet/deployment/main_mirror/files/mirror/README.mirroring (rev 0)
+++ puppet/deployment/main_mirror/files/mirror/README.mirroring 2011-01-21 14:10:24 UTC (rev 872)
@@ -0,0 +1,48 @@
+ __ __ _
+| \/ | __ _ __ _ ___(_) __ _
+| |\/| |/ _` |/ _` |/ _ \ |/ _` |
+| | | | (_| | (_| | __/ | (_| |
+|_| |_|\__,_|\__, |\___|_|\__,_|
+ |___/
+
+This document describe the way to do a Mageia Mirror.
+
+1) Prerequise
+
+The expect size is around 700GB.
+
+You need rsync software to synchronise the tree.
+
+2) Official source
+
+If you plan to create a public we encourage you to use one our Tier1 mirror.
+
+This servers synchronise the tree directly from the Mageia rsync server.
+
+ o rsync://distrib-coffee.ipsl.jussieu.fr/mageia/
+ located in Paris (France)
+
+3) Rsync options
+
+Ensure you're using a least this options:
+
+ -a -H
+
+We apreciate if theses options are also used:
+
+ --delete-after -S
+
+Don't use compression and checksum option, they will overload the remote
+server
+
+4) Automate
+
+The tree must be synchronize at least every 2 hours.
+
+Please ensure another rsync process is not started while first one is
+still running. Use a lock file.
+
+5) Registering your mirror
+
+TODO
+
Added: puppet/deployment/main_mirror/files/mirror/README.paths
===================================================================
--- puppet/deployment/main_mirror/files/mirror/README.paths (rev 0)
+++ puppet/deployment/main_mirror/files/mirror/README.paths 2011-01-21 14:10:24 UTC (rev 872)
@@ -0,0 +1,2 @@
+Description of the path on the mirror
+
Added: puppet/deployment/main_mirror/manifests/init.pp
===================================================================
--- puppet/deployment/main_mirror/manifests/init.pp (rev 0)
+++ puppet/deployment/main_mirror/manifests/init.pp 2011-01-21 14:10:24 UTC (rev 872)
@@ -0,0 +1,28 @@
+class main_mirror {
+ $mirror = "/distrib"
+ file { "$mirror":
+ ensure => directory,
+ }
+
+ file { "$mirror/README":
+ ensure => present,
+ source => "puppet:///modules/main_mirror/README"
+ }
+
+ file { "$mirror/mirror":
+ ensure => directory,
+
+ }
+
+ file { "$mirror/mirror/README.mirroring":
+ ensure => present,
+ source => "puppet:///modules/main_mirror/mirror/README.mirroring"
+ }
+
+ file { "$mirror/mirror/README.paths":
+ ensure => present,
+ source => "puppet:///modules/main_mirror/mirror/README.paths"
+ }
+
+
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110121/d9962cb3/attachment-0001.html>
More information about the Mageia-sysadm
mailing list