/[adm]/puppet/modules/subversion/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/subversion/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 806 by boklm, Sat Jan 8 14:40:17 2011 UTC revision 807 by misc, Sun Jan 16 13:15:31 2011 UTC
# Line 132  class subversion { Line 132  class subversion {
132                         $cia_module = 'default',                         $cia_module = 'default',
133                         $cia_ignore_author = '',                         $cia_ignore_author = '',
134                         $no_binary = false,                         $no_binary = false,
135                         $syntax_check1 = '',                         $syntax_check = '',
                        $syntax_check2 = '',  
                        $syntax_check3 = '',  
136                         $extract_dir = '') {                         $extract_dir = '') {
137          # check permissions          # check permissions
138          # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html          # http://svnbook.red-bean.com/nightly/fr/svn.serverconfig.multimethod.html
# Line 222  class subversion { Line 220  class subversion {
220          pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit":          pre_commit_link { "$name/hooks/pre-commit.d/no_root_commit":
221              scriptname => 'no_root_commit',              scriptname => 'no_root_commit',
222          }          }
223          if $syntax_check1 {          if $syntax_check {
224              pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check1}":              pre_commit_link { "$name/hooks/pre-commit.d/$syntax_check":
225                  scriptname => $syntax_check1,                  scriptname => $syntax_check,
226              }              }
227          }          }
         if $syntax_check2 {  
             pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check2}":  
                 scriptname => $syntax_check2,  
             }  
         }  
         if $syntax_check3 {  
             pre_commit_link { "$name/hooks/pre-commit.d/${syntax_check3}":  
                 scriptname => $syntax_check3,  
             }  
         }  
228      }      }
229    
230    

Legend:
Removed from v.806  
changed lines
  Added in v.807

  ViewVC Help
Powered by ViewVC 1.1.30