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