Merge "Use Deployment actions for blacklist"
[apex-tripleo-heat-templates.git] / puppet / services / octavia-base.yaml
1 heat_template_version: pike
2
3 description: >
4   OpenStack Octavia base service. Shared for all Octavia services
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   RoleName:
17     default: ''
18     description: Role name on which the service is applied
19     type: string
20   RoleParameters:
21     default: {}
22     description: Parameters specific to the role
23     type: json
24   EndpointMap:
25     default: {}
26     description: Mapping of service endpoint -> protocol. Typically set
27                  via parameter_defaults in the resource registry.
28     type: json
29   Debug:
30     type: string
31     default: ''
32     description: Set to True to enable debugging on all services.
33   OctaviaDebug:
34     default: ''
35     description: Set to True to enable debugging Octavia services.
36     type: string
37   EnableConfigPurge:
38     type: boolean
39     default: false
40     description: >
41         Remove configuration that is not generated by TripleO. Used to avoid
42         configuration remnants after upgrades.
43   RabbitPassword:
44     description: The password for RabbitMQ
45     type: string
46     hidden: true
47   RabbitUserName:
48     default: guest
49     description: The username for RabbitMQ
50     type: string
51   RabbitClientUseSSL:
52     default: false
53     description: >
54         Rabbit client subscriber parameter to specify
55         an SSL connection to the RabbitMQ host.
56     type: string
57   RabbitClientPort:
58     default: 5672
59     description: Set rabbit subscriber port, change this if using SSL
60     type: number
61
62 conditions:
63   service_debug_unset: {equals : [{get_param: OctaviaDebug}, '']}
64
65 outputs:
66   role_data:
67     description: Base role data for Octavia services
68     value:
69        service_name: octavia_base
70        config_settings:
71          octavia::debug:
72           if:
73           - service_debug_unset
74           - {get_param: Debug }
75           - {get_param: OctaviaDebug }
76          octavia::purge_config: {get_param: EnableConfigPurge}
77          octavia::rabbit_use_ssl: {get_param: RabbitClientUseSSL}
78          octavia::rabbit_userid: {get_param: RabbitUserName}
79          octavia::rabbit_password: {get_param: RabbitPassword}
80          octavia::rabbit_port: {get_param: RabbitClientPort}
81