aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-06 22:36:33 +0000
committerColin Guthrie <colin@mageia.org>2013-10-06 22:36:33 +0000
commita8a30664410fd0e4d3708d130ef12cdcde6f27c1 (patch)
tree4a97cdcb3c5a20afe54254345cf35671906ae89b /modules/git
parenta6f368cf8ec0acb076f1c28d11f0efa0aae0915d (diff)
downloadpuppet-a8a30664410fd0e4d3708d130ef12cdcde6f27c1.tar
puppet-a8a30664410fd0e4d3708d130ef12cdcde6f27c1.tar.gz
puppet-a8a30664410fd0e4d3708d130ef12cdcde6f27c1.tar.bz2
puppet-a8a30664410fd0e4d3708d130ef12cdcde6f27c1.tar.xz
puppet-a8a30664410fd0e4d3708d130ef12cdcde6f27c1.zip
Remove old git repository creation manifest.
Now obsoleted by mgagit
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/manifests/repository.pp40
1 files changed, 0 insertions, 40 deletions
diff --git a/modules/git/manifests/repository.pp b/modules/git/manifests/repository.pp
deleted file mode 100644
index 4f4f0615..00000000
--- a/modules/git/manifests/repository.pp
+++ /dev/null
@@ -1,40 +0,0 @@
-define git::repository($group,
- $description = '') {
-
- include git::server
- # http://eagleas.livejournal.com/18907.html
- # TODO group permission should be handled here too
- exec { "/usr/local/bin/create_git_repo.sh $name":
- user => 'root',
- group => $group,
- creates => $name,
- }
-
- file { "$name/git-daemon-export-ok":
- require => Exec["/usr/local/bin/create_git_repo.sh $name"]
- }
-
- file { "$name/description":
- content => $description,
- require => File["$name/git-daemon-export-ok"]
- }
-
- file { "$name/hooks/post-receive":
- mode => '0755',
- content => template('git/post-receive'),
- require => File["$name/git-daemon-export-ok"]
- }
-
- file { "$name/config.puppet":
- require => File["$name/git-daemon-export-ok"],
- notify => Exec["/usr/local/bin/apply_git_puppet_config.sh $name"],
- content => template('git/config.puppet'),
- }
-
- # $name is not really used, but this prevent duplicate declaration error
- exec { "/usr/local/bin/apply_git_puppet_config.sh $name":
- cwd => $name,
- user => 'root',
- refreshonly => true,
- }
-}