Merge "Adds Horizon secure cookie map."
[apex-tripleo-heat-templates.git] / puppet / services / monitoring / sensu-base.yaml
1 heat_template_version: ocata
2
3 description: Sensu base service
4
5 parameters:
6   ServiceNetMap:
7     default: {}
8     description: Mapping of service_name -> network name. Typically set
9                  via parameter_defaults in the resource registry.  This
10                  mapping overrides those in ServiceNetMapDefaults.
11     type: json
12   EndpointMap:
13     default: {}
14     description: Mapping of service endpoint -> protocol. Typically set
15                  via parameter_defaults in the resource registry.
16     type: json
17   DefaultPasswords:
18     default: {}
19     type: json
20   MonitoringRabbitHost:
21     description: RabbitMQ host Sensu has to connect to.
22     type: string
23     default: ''
24   MonitoringRabbitPort:
25     default: 5672
26     description: Set RabbitMQ subscriber port, change this if using SSL.
27     type: number
28   MonitoringRabbitUseSSL:
29     default: false
30     description: >
31         RabbitMQ client subscriber parameter to specify an SSL connection
32         to the RabbitMQ host. Set MonitoringRabbitUseSSL to true without
33         specifying a private key or cert chain to use SSL transport,
34         but not cert auth.
35     type: string
36   MonitoringRabbitSSLPrivateKey:
37     default: ''
38     description: Private key to be used by Sensu to connect to RabbitMQ host.
39     type: string
40   MonitoringRabbitSSLCertChain:
41     default: ''
42     description: >
43       Private SSL cert chain to be used by Sensu to connect to RabbitMQ host.
44     type: string
45   MonitoringRabbitPassword:
46     description: The RabbitMQ password used for monitoring purposes.
47     type: string
48     hidden: true
49   MonitoringRabbitUserName:
50     description: The RabbitMQ username used for monitoring purposes.
51     type: string
52     default: sensu
53   MonitoringRabbitVhost:
54     description: The RabbitMQ vhost used for monitoring purposes.
55     type: string
56     default: '/sensu'
57   SensuRedactVariables:
58     description: Variables from Sensu configuration, which have to be redacted.
59     type: comma_delimited_list
60     default:
61       - password
62       - passwd
63       - pass
64       - api_key
65       - api_token
66       - access_key
67       - secret_key
68       - private_key
69       - secret
70
71 outputs:
72   role_data:
73     description: Role data for the Sensu role.
74     value:
75       service_name: sensu_base
76       config_settings:
77         sensu::enterprise: false
78         sensu::enterprise_dashboard: false
79         sensu::install_repo: false
80         sensu::manage_user: false
81         sensu::rabbitmq_host: {get_param: MonitoringRabbitHost}
82         sensu::rabbitmq_password: {get_param: MonitoringRabbitPassword}
83         sensu::rabbitmq_port: {get_param: MonitoringRabbitPort}
84         sensu::rabbitmq_ssl: {get_param: MonitoringRabbitUseSSL}
85         sensu::rabbitmq_ssl_private_key: {get_param: MonitoringRabbitSSLPrivateKey}
86         sensu::rabbitmq_ssl_cert_chain: {get_param: MonitoringRabbitSSLCertChain}
87         sensu::rabbitmq_user: {get_param: MonitoringRabbitUserName}
88         sensu::rabbitmq_vhost: {get_param: MonitoringRabbitVhost}
89         sensu::redact: {get_param: SensuRedactVariables}
90         sensu::sensu_plugin_provider: 'yum'
91         sensu::sensu_plugin_name: 'rubygem-sensu-plugin'
92         sensu::version: 'present'