Delivers upgrade scripts where upgrade steps are disabled
[apex-tripleo-heat-templates.git] / puppet / services / panko-base.yaml
1 heat_template_version: ocata
2
3 description: >
4   OpenStack Panko service configured with Puppet
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   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   PankoPassword:
22     description: The password for the panko services.
23     type: string
24     hidden: true
25   Debug:
26     default: ''
27     description: Set to True to enable debugging on all services.
28     type: string
29   KeystoneRegion:
30     type: string
31     default: 'regionOne'
32     description: Keystone region for endpoint
33
34 outputs:
35   role_data:
36     description: Role data for the Panko role.
37     value:
38       service_name: panko_base
39       config_settings:
40         panko::db::database_connection:
41           list_join:
42             - ''
43             - - {get_param: [EndpointMap, MysqlInternal, protocol]}
44               - '://panko:'
45               - {get_param: PankoPassword}
46               - '@'
47               - {get_param: [EndpointMap, MysqlInternal, host]}
48               - '/panko'
49               - '?bind_address='
50               - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
51         panko::debug: {get_param: Debug}
52         panko::auth::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix] }
53         panko::keystone::authtoken::project_name: 'service'
54         panko::keystone::authtoken::password: {get_param: PankoPassword}
55         panko::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
56         panko::keystone::authtoken::auth_url: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix] }
57         panko::auth::auth_password: {get_param: PankoPassword}
58         panko::auth::auth_region: 'regionOne'
59         panko::auth::auth_tenant_name: 'service'
60       service_config_settings:
61         keystone:
62           panko::keystone::auth::public_url: {get_param: [EndpointMap, PankoPublic, uri]}
63           panko::keystone::auth::internal_url: {get_param: [EndpointMap, PankoInternal, uri]}
64           panko::keystone::auth::admin_url: {get_param: [EndpointMap, PankoAdmin, uri]}
65           panko::keystone::auth::password: {get_param: PankoPassword}
66           panko::keystone::auth::region: {get_param: KeystoneRegion}
67           panko::keystone::auth::tenant: 'service'
68         mysql:
69           panko::db::mysql::user: panko
70           panko::db::mysql::password: {get_param: PankoPassword}
71           panko::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]}
72           panko::db::mysql::dbname: panko
73           panko::db::mysql::allowed_hosts:
74             - '%'
75             - "%{hiera('mysql_bind_host')}"