Puppet Class: heat::healthcheck

Defined in:
manifests/healthcheck.pp

Overview

Class: heat::healthcheck

Configure oslo_middleware options in healthcheck section

Params

detailed

(Optional) Show more detailed information as part of the response. Defaults to $facts

backends

(Optional) Additional backends that can perform health checks and report that information back as part of a request. Defaults to $facts

disable_by_file_path

(Optional) Check the presence of a file to determine if an application is running on a port. Defaults to $facts

disable_by_file_paths

(Optional) Check the presence of a file to determine if an application is running on a port. Expects a “port:path” list of strings. Defaults to $facts

Parameters:

  • detailed (Any) (defaults to: $facts['os_service_default'])
  • backends (Any) (defaults to: $facts['os_service_default'])
  • disable_by_file_path (Any) (defaults to: $facts['os_service_default'])
  • disable_by_file_paths (Any) (defaults to: $facts['os_service_default'])


26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'manifests/healthcheck.pp', line 26

class heat::healthcheck (
  $detailed              = $facts['os_service_default'],
  $backends              = $facts['os_service_default'],
  $disable_by_file_path  = $facts['os_service_default'],
  $disable_by_file_paths = $facts['os_service_default'],
) {

  include heat::deps

  oslo::healthcheck { 'heat_config':
    detailed              => $detailed,
    backends              => $backends,
    disable_by_file_path  => $disable_by_file_path,
    disable_by_file_paths => $disable_by_file_paths,
  }
}