Bump template version for all templates to "ocata"
[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.
33     type: string
34   MonitoringRabbitPassword:
35     description: The RabbitMQ password used for monitoring purposes.
36     type: string
37     hidden: true
38   MonitoringRabbitUserName:
39     description: The RabbitMQ username used for monitoring purposes.
40     type: string
41     default: sensu
42   MonitoringRabbitVhost:
43     description: The RabbitMQ vhost used for monitoring purposes.
44     type: string
45     default: '/sensu'
46   SensuRedactVariables:
47     description: Variables from Sensu configuration, which have to be redacted.
48     type: comma_delimited_list
49     default:
50       - password
51       - passwd
52       - pass
53       - api_key
54       - api_token
55       - access_key
56       - secret_key
57       - private_key
58       - secret
59
60 outputs:
61   role_data:
62     description: Role data for the Sensu role.
63     value:
64       service_name: sensu_base
65       config_settings:
66         sensu::enterprise: false
67         sensu::enterprise_dashboard: false
68         sensu::install_repo: false
69         sensu::manage_user: false
70         sensu::rabbitmq_host: {get_param: MonitoringRabbitHost}
71         sensu::rabbitmq_password: {get_param: MonitoringRabbitPassword}
72         sensu::rabbitmq_port: {get_param: MonitoringRabbitPort}
73         sensu::rabbitmq_ssl: {get_param: MonitoringRabbitUseSSL}
74         sensu::rabbitmq_user: {get_param: MonitoringRabbitUserName}
75         sensu::rabbitmq_vhost: {get_param: MonitoringRabbitVhost}
76         sensu::redact: {get_param: SensuRedactVariables}
77         sensu::sensu_plugin_provider: 'yum'
78         sensu::sensu_plugin_name: 'rubygem-sensu-plugin'
79         sensu::version: 'present'