/[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 703 by misc, Fri Jan 7 02:33:45 2011 UTC revision 704 by boklm, Fri Jan 7 17:43:33 2011 UTC
# Line 123  class subversion { Line 123  class subversion {
123      define repository ($group = "svn",      define repository ($group = "svn",
124                         $public = true,                         $public = true,
125                         $commit_mail = '',                         $commit_mail = '',
126                           $cia_post = true,
127                         $syntax_check = '',                         $syntax_check = '',
128                         $extract_dir = '') {                         $extract_dir = '') {
129          # check permissions          # check permissions
# Line 177  class subversion { Line 178  class subversion {
178              }              }
179          }          }
180    
181            if $cia_post {
182                file { "$name/hooks/post-commit.d/cia.vc":
183                    ensure => present,
184                    owner => root,
185                    group => root,
186                    mode => 755,
187                    content => template("subversion/ciabot_svn.py"),
188                }
189                    
190            }
191    
192          if $extract_dir {          if $extract_dir {
193              file { "$name/hooks/post-commit.d/extract_dir":              file { "$name/hooks/post-commit.d/extract_dir":
194                  ensure => present,                  ensure => present,

Legend:
Removed from v.703  
changed lines
  Added in v.704

  ViewVC Help
Powered by ViewVC 1.1.30