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

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

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

revision 947 by misc, Wed Feb 2 19:38:56 2011 UTC revision 977 by misc, Thu Feb 10 02:24:21 2011 UTC
# Line 24  class git { Line 24  class git {
24               content => template('git/create_git_repo.sh')               content => template('git/create_git_repo.sh')
25          }          }
26    
27            file { "/usr/local/bin/apply_git_puppet_config.sh":
28                ensure => present,
29                owner => root,
30                group => root,
31                mode => 755,
32                content => template('git/apply_git_puppet_config.sh')
33            }
34    
35    
36          # TODO          # TODO
37          # define common syntax check, see svn          # define common syntax check, see svn
# Line 65  class git { Line 73  class git {
73              content => $description,              content => $description,
74              require => File["$name/git-daemon-export-ok"]              require => File["$name/git-daemon-export-ok"]
75          }          }
76    
77            file { "$name/config.puppet":
78                ensure => present,
79                require => File["$name/git-daemon-export-ok"],
80                notify => Exec['/usr/local/bin/apply_git_puppet_config.sh'],
81                content => template('git/config.puppet'),
82            }
83    
84            exec { "/usr/local/bin/apply_git_puppet_config.sh":
85                cwd => $name,
86                user => "root",
87                refreshonly => true
88            }
89      }      }
90    
91      define svn_repository($source,      define svn_repository($source,

Legend:
Removed from v.947  
changed lines
  Added in v.977

  ViewVC Help
Powered by ViewVC 1.1.30