Puppet Class: gitblit

Inherits:
gitblit::params
Defined in:
manifests/init.pp

Overview

Class: gitblit

This module manages gitblit

Parameters:

$distribution

filename of the distribution to download.

$port

port Jetty will listen to.

$gitblit_home

home directory of hosted git repositories.

Actions: installs, configure and sets up a gitblit service

Requires: see Modulefile

Sample Usage: include gitblit class gitblit { port => ‘9090’ }

Parameters:

  • distribution (Any) (defaults to: $gitblit::params::distribution)
  • port (Any) (defaults to: $gitblit::params::port)
  • gitblit_home (Any) (defaults to: $gitblit::params::gitblit_home)


18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/init.pp', line 18

class gitblit (
  $distribution = $gitblit::params::distribution,
  $port         = $gitblit::params::port,
  $gitblit_home = $gitblit::params::gitblit_home) inherits gitblit::params {
  class { 'gitblit::install':
    distribution_url => $distribution,
  } -> class { 'gitblit::config':
    java_home    => $gitblit::params::java_home,
    jetty_port   => $port,
    gitblit_home => $gitblit_home,
  } ~> class { 'gitblit::service':
  }
}