Puppet Class: crane

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

Overview

Class: crane

Install and configure Crane

Parameters:

$key

Path to the SSL key for https

$cert

Path to the SSL certificate for https

$ca_cert

Path to the SSL CA cert for https

$port

Port for Crane to run on

Parameters:

  • key (Any) (defaults to: $crane::params::key)
  • cert (Any) (defaults to: $crane::params::cert)
  • ca_cert (Any) (defaults to: $crane::params::ca_cert)
  • port (Any) (defaults to: $crane::params::port)


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

class crane (
  $key      = $crane::params::key,
  $cert     = $crane::params::cert,
  $ca_cert  = $crane::params::ca_cert,
  $port     = $crane::params::port,
  ) inherits crane::params {

  class { '::crane::install': } ~>
  class { '::crane::apache': } ~>
  class { '::crane::config': } ~>
  Service['httpd']
  ->
  Class['crane']
}