[Mageia-sysadm] [309] fix comments

root at mageia.org root at mageia.org
Fri Nov 19 01:53:07 CET 2010


Revision: 309
Author:   misc
Date:     2010-11-19 01:53:06 +0100 (Fri, 19 Nov 2010)
Log Message:
-----------
fix comments

Modified Paths:
--------------
    puppet/modules/subversion/manifests/init.pp

Modified: puppet/modules/subversion/manifests/init.pp
===================================================================
--- puppet/modules/subversion/manifests/init.pp	2010-11-19 00:53:05 UTC (rev 308)
+++ puppet/modules/subversion/manifests/init.pp	2010-11-19 00:53:06 UTC (rev 309)
@@ -46,21 +46,23 @@
             content => template('subversion/no_empty_message') 
         }
 
+        # TODO : add check for
+        #    - ym       perl -MYAML -e 'YAML::LoadFile("-");'
+        #    - tt       ( do not seem to be possible, but this would be great )
+        #    - php      php -l
+        #    - python
+        #    - named    named-checkzone/named-checkconf ( may requires some interaction with facter/erb )
+        #    - po       msgfmt -c
+        #    - openldap , like named
+
         syntax_check{"check_perl":
             regexp_ext => ".p[lm]$",
             check_cmd => "perl -c"
         }
     }
 
-    # later, deploy a backup file ( ie, cron job to do a dump in some directory )
     # TODO 
-    # what about pre commit ?
-    # - name of a template file ?
-    # - prepare a template for file checking ?
-    #   - openldap
-    #   - named
-    #   - puppet
-    #   - perl/ php syntax
+    #   deploy a cronjob to make a backup file ( ie, dump in some directory )
 
     
     define repository ($group = "svn",
@@ -68,9 +70,9 @@
                        $commit_mail = [],
                        $syntax_check = [],
                        $extract_dir = []) {
-        # faire un script qui mets les permissions comme il faut
+        # check permissions
         # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
-        # $name ==> lieu du checkout
+        # $name ==> directory of the repo
 
         # TODO set umask -> requires puppet 2.7.0
         exec { "svnadmin create $name":
@@ -153,8 +155,6 @@
         }
     }
 
-    # TODO ensure that subversion ishere
-    #      allow to configure the snapshot refresh interval
     define snapshot($source, $refresh = '*/5', $user = 'root')  {
 
         include subversion::client
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101119/98f495fa/attachment.html>


More information about the Mageia-sysadm mailing list