Skip to main content
summaryrefslogtreecommitdiffstats
blob: b557966952b7173f9ca38c7f80ef9b74f6e28214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
define gerrit::defaultsites ($base = $gerrit::base, $userOwner = $gerrit::userOwner, $userGroup = $gerrit::userGroup,) {
  include "gerrit"

  /* Defaults */

  Gerrit {
    base      => $base,
    userOwner => $userOwner,
    userGroup => $userGroup,
  }

  Gerrit::Site {
    base      => $base,
    userOwner => $userOwner,
    userGroup => $userGroup,
  }

  /* Instances */

  gerrit { "2.11.10":
  }

  gerrit { "2.13.8":
  }
  
  /* Sites */

  gerrit::site { "gerrit-2.11.10":
    version => "2.11.10",
    port    => 28211,
    sshport => 29211,
    require => Gerrit["2.11.10"],
  }

  gerrit::site { "gerrit-2.13.8":
    version => "2.13.8",
    port    => 28213,
    sshport => 29213,
    require => Gerrit["2.13.8"],
  }

}

Back to the top