]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Set git_server_implementation also at gitweb class
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Dec 2012 21:00:54 +0000 (19:00 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Dec 2012 21:00:54 +0000 (19:00 -0200)
manifests/gitweb.pp

index 045787d6b45c016c53d335008911c1e8d74bcbff..8d07e67b5c098b346453202755bd84925a27065f 100644 (file)
@@ -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 }