Defined Type: tomcat::instance::dependencies

Defined in:
manifests/instance/dependencies.pp

Summary

Overview

Parameters:

  • catalina_home (Any)
  • catalina_base (Any)


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
43
44
45
46
47
48
49
50
# File 'manifests/instance/dependencies.pp', line 5

define tomcat::instance::dependencies (
  $catalina_home,
  $catalina_base,
) {
  $home_sha = sha1($catalina_home)
  $base_sha = sha1($catalina_base)

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Service                   <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Instance::Copy_from_home  <| tag == $base_sha |>
  -> Tomcat::Service                   <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Service                   <| tag == $base_sha |>
  -> Tomcat::Config::Properties        <| tag == $base_sha |>
  Tomcat::Instance::Copy_from_home     <| tag == $base_sha |>
  -> Tomcat::Config::Properties        <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Config::Server            <| tag == $base_sha |>
  ~> Tomcat::Service                   <| tag == $base_sha |>
  Tomcat::Instance::Copy_from_home     <| tag == $base_sha |>
  -> Tomcat::Config::Server            <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Config::Server::Realm     <| tag == $base_sha |>
  ~> Tomcat::Service                   <| tag == $base_sha |>
  Tomcat::Instance::Copy_from_home     <| tag == $base_sha |>
  -> Tomcat::Config::Server::Realm     <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Config::Server::Connector <| tag == $base_sha |>
  ~> Tomcat::Service                   <| tag == $base_sha |>
  Tomcat::Instance::Copy_from_home     <| tag == $base_sha |>
  -> Tomcat::Config::Server::Connector <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::Setenv::Entry             <| tag == $base_sha |>
  -> Tomcat::Service                   <| tag == $base_sha |>

  Tomcat::Install                      <| tag == $base_sha or tag == $home_sha |>
  -> Tomcat::War                       <| tag == $base_sha |>
  -> Tomcat::Service                   <| tag == $base_sha |>
}