summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000664.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000664.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000664.html162
1 files changed, 162 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000664.html b/zarb-ml/mageia-sysadm/2010-November/000664.html
new file mode 100644
index 000000000..c2981e7a3
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000664.html
@@ -0,0 +1,162 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [324] - add some documentation
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B324%5D%20-%20add%20some%20documentation&In-Reply-To=%3C20101119010411.863233FBCB%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000663.html">
+ <LINK REL="Next" HREF="000666.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [324] - add some documentation</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B324%5D%20-%20add%20some%20documentation&In-Reply-To=%3C20101119010411.863233FBCB%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [324] - add some documentation">root at mageia.org
+ </A><BR>
+ <I>Fri Nov 19 02:04:11 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000663.html">[Mageia-sysadm] [323] - try to workaround the missing feature of puppet about umask and Exec
+</A></li>
+ <LI>Next message: <A HREF="000666.html">[Mageia-sysadm] [325] add www-test and blog-test
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#664">[ date ]</a>
+ <a href="thread.html#664">[ thread ]</a>
+ <a href="subject.html#664">[ subject ]</a>
+ <a href="author.html#664">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 324
+Author: misc
+Date: 2010-11-19 02:04:11 +0100 (Fri, 19 Nov 2010)
+Log Message:
+-----------
+- add some documentation
+- clean some comment, move some code
+
+Modified Paths:
+--------------
+ puppet/modules/subversion/manifests/init.pp
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp 2010-11-19 01:00:01 UTC (rev 323)
++++ puppet/modules/subversion/manifests/init.pp 2010-11-19 01:04:11 UTC (rev 324)
+@@ -22,7 +22,7 @@
+ ensure =&gt; directory,
+ }
+
+- # workaround the lack of umask command in puppet &lt; 2.7
++ # workaround the lack of umask command in puppet &lt; 2.7
+ file { &quot;/usr/local/bin/create_svn_repo.sh&quot;:
+ ensure =&gt; present,
+ owner =&gt; root,
+@@ -31,17 +31,6 @@
+ content =&gt; template('subversion/create_svn_repo.sh')
+ }
+
+- define syntax_check($regexp_ext,$check_cmd) {
+- file { &quot;$local_dir/pre-commit.d/$name&quot;:
+- ensure =&gt; present,
+- owner =&gt; root,
+- group =&gt; root,
+- mode =&gt; 755,
+- content =&gt; template('subversion/syntax_check.sh')
+- }
+- }
+-
+- # mettre tout les scripts dans le repertoire
+ file { &quot;$local_dir/pre-commit.d/no_root_commit&quot;:
+ ensure =&gt; present,
+ owner =&gt; root,
+@@ -67,6 +56,17 @@
+ # - po msgfmt -c
+ # - openldap , like named
+
++ define syntax_check($regexp_ext,$check_cmd) {
++ file { &quot;$local_dir/pre-commit.d/$name&quot;:
++ ensure =&gt; present,
++ owner =&gt; root,
++ group =&gt; root,
++ mode =&gt; 755,
++ content =&gt; template('subversion/syntax_check.sh')
++ }
++ }
++
++
+ syntax_check{&quot;check_perl&quot;:
+ regexp_ext =&gt; &quot;\.p[lm]$&quot;,
+ check_cmd =&gt; &quot;perl -c&quot;
+@@ -103,7 +103,15 @@
+ # TODO
+ # deploy a cronjob to make a backup file ( ie, dump in some directory )
+
+-
++ # documentation :
++ # group : group that have commit access on the svn
++ # public : boolean if the svn is readable by anybody or not
++ # commit_mail : array of people who will receive mail after each commit
++ # syntax_check : array of pre-commit script with syntax check to add
++ # extract_dir : hash of directory to update upon commit ( with svn update ),
++ # initial checkout is not handled, nor the permission
++ # TODO, handle the tags ( see svn::notify::mirror )
++
+ define repository ($group = &quot;svn&quot;,
+ $public = true,
+ $commit_mail = [],
+@@ -122,9 +130,8 @@
+ creates =&gt; &quot;$name/hooks&quot;,
+ require =&gt; Package['subversion-tools'],
+ }
+-# # TODO complete documentation
+-#
+- file { &quot;$name&quot;:
++
++ file { &quot;$name&quot;:
+ group =&gt; $group,
+ owner =&gt; root,
+ mode =&gt; $public ? {
+@@ -173,7 +180,6 @@
+ }
+ }
+
+-
+ pre_commit_link { ['no_empty_message','no_root_commit', $syntax_check]:
+ directory =&gt; &quot;$name/hooks/pre-commit.d/&quot;
+ }
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101119/1e238adf/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000663.html">[Mageia-sysadm] [323] - try to workaround the missing feature of puppet about umask and Exec
+</A></li>
+ <LI>Next message: <A HREF="000666.html">[Mageia-sysadm] [325] add www-test and blog-test
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#664">[ date ]</a>
+ <a href="thread.html#664">[ thread ]</a>
+ <a href="subject.html#664">[ subject ]</a>
+ <a href="author.html#664">[ 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>