From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000645.html | 119 ++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000645.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000645.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000645.html b/zarb-ml/mageia-sysadm/2010-November/000645.html new file mode 100644 index 000000000..3ee0166f8 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000645.html @@ -0,0 +1,119 @@ + + + + [Mageia-sysadm] [305] - add logic to extract directory from svn on commit + + + + + + + + + +

[Mageia-sysadm] [305] - add logic to extract directory from svn on commit

+ root at mageia.org + root at mageia.org +
+ Fri Nov 19 01:24:22 CET 2010 +

+
+ +
Revision: 305
+Author:   misc
+Date:     2010-11-19 01:24:22 +0100 (Fri, 19 Nov 2010)
+Log Message:
+-----------
+- add logic to extract directory from svn on commit
+
+Modified Paths:
+--------------
+    puppet/modules/subversion/manifests/init.pp
+
+Added Paths:
+-----------
+    puppet/modules/subversion/templates/hook_extract.pl
+
+Modified: puppet/modules/subversion/manifests/init.pp
+===================================================================
+--- puppet/modules/subversion/manifests/init.pp	2010-11-19 00:24:21 UTC (rev 304)
++++ puppet/modules/subversion/manifests/init.pp	2010-11-19 00:24:22 UTC (rev 305)
+@@ -91,7 +91,17 @@
+                 mode => 755,
+                 content => template("subversion/hook_sendmail.pl")
+             }
+-        }  
++        }
++
++        if $extract_dir {
++            file { "$name/hooks/post-commit.d/extract_dir":
++                ensure => present,
++                owner => root,
++                group => root,
++                mode => 755,
++                content => template("subversion/hook_extract.pl")
++            }
++        }
+     
+     }   
+ 
+
+Added: puppet/modules/subversion/templates/hook_extract.pl
+===================================================================
+--- puppet/modules/subversion/templates/hook_extract.pl	                        (rev 0)
++++ puppet/modules/subversion/templates/hook_extract.pl	2010-11-19 00:24:22 UTC (rev 305)
+@@ -0,0 +1,10 @@
++#!/usr/bin/perl -MSVN::Notify::Config=$0
++--- #YAML:1.0
++<% extract_dir.each do |src,dest| %>
++
++'<%= src %>':
++  PATH: "/usr/bin:/usr/local/bin"
++  handler: Mirror
++  svn-binary: /usr/bin/svn
++  to: <%= dest %>
++<% end %>
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101119/9f05ca03/attachment.html>
+
+ + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1