aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-12-22 19:00:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-12-22 19:00:54 -0200
commit369c17932c1520633171dc555ae622b240171936 (patch)
tree36c826ca4b6f9940829f4d017066e54375e7abdf /manifests
parent4c87436ad2317af3e8af88c409f0a47225b163a8 (diff)
downloadpuppet-git-369c17932c1520633171dc555ae622b240171936.tar.gz
puppet-git-369c17932c1520633171dc555ae622b240171936.tar.bz2
Set git_server_implementation also at gitweb class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/gitweb.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/gitweb.pp b/manifests/gitweb.pp
index 045787d..8d07e67 100644
--- a/manifests/gitweb.pp
+++ b/manifests/gitweb.pp
@@ -1,6 +1,10 @@
# This class handles a gitweb installation.
class gitweb inherits git-manager {
+ case $git_server_implementation {
+ '': { $git_server_implementation = 'gitolite' }
+ }
+
# the needed packages
package { gitweb: ensure => installed }