aboutsummaryrefslogtreecommitdiff
path: root/manifests/gitweb.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-06 11:12:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-06 11:12:38 -0200
commit10165927fe1847be3451413a72c631fe1a99c1f9 (patch)
treebbfb7d485ac1db9d6124223114f89f3b8c936386 /manifests/gitweb.pp
downloadpuppet-git-10165927fe1847be3451413a72c631fe1a99c1f9.tar.gz
puppet-git-10165927fe1847be3451413a72c631fe1a99c1f9.tar.bz2
Initial import
Diffstat (limited to 'manifests/gitweb.pp')
-rw-r--r--manifests/gitweb.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp
new file mode 100644
index 0000000..93c3382
--- /dev/null
+++ b/manifests/gitweb.pp
@@ -0,0 +1,15 @@
+# This class handles a gitweb installation.
+
+class gitweb inherits gitosis {
+ # the needed packages
+ package { gitweb: ensure => installed; }
+
+ # gitweb config file
+ file { "/etc/gitweb.conf":
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ content => template('git/gitweb.conf.erb'),
+ }
+}