1 heat_template_version: 2016-04-08
4 Gnocchi service configured with Puppet
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.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
22 description: The password for the gnocchi service and db account.
27 description: The short name of the Gnocchi backend to use. Should be one
28 of swift, rbd, or file
31 - allowed_values: ['swift', 'file', 'rbd']
35 description: Keystone region for endpoint
39 type: ./gnocchi-base.yaml
41 ServiceNetMap: {get_param: ServiceNetMap}
42 DefaultPasswords: {get_param: DefaultPasswords}
43 EndpointMap: {get_param: EndpointMap}
47 description: Role data for the Gnocchi role.
49 service_name: gnocchi_api
52 - get_attr: [GnocchiServiceBase, role_data, config_settings]
53 - tripleo.gnocchi_api.firewall_rules:
58 gnocchi::api::enabled: true
59 gnocchi::api::service_name: 'httpd'
60 gnocchi::keystone::auth::admin_url: { get_param: [ EndpointMap, GnocchiAdmin, uri ] }
61 gnocchi::keystone::auth::internal_url: {get_param: [EndpointMap, GnocchiInternal, uri]}
62 gnocchi::keystone::auth::password: {get_param: GnocchiPassword}
63 gnocchi::keystone::auth::public_url: { get_param: [ EndpointMap, GnocchiPublic, uri ] }
64 gnocchi::keystone::auth::region: {get_param: KeystoneRegion}
65 gnocchi::keystone::auth::tenant: 'service'
66 gnocchi::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
67 gnocchi::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
68 gnocchi::keystone::authtoken::password: {get_param: GnocchiPassword}
69 gnocchi::keystone::authtoken::project_name: 'service'
70 gnocchi::wsgi::apache::ssl: false
71 tripleo::profile::base::gnocchi::api::gnocchi_backend: {get_param: GnocchiBackend}
72 # NOTE: bind IP is found in Heat replacing the network name with the
73 # local node IP for the given network; replacement examples
74 # (eg. for internal_api):
76 # internal_api_uri -> [IP]
77 # internal_api_subnet - > IP/CIDR
78 gnocchi::wsgi::apache::bind_host: {get_param: [ServiceNetMap, GnocchiApiNetwork]}
79 gnocchi::api::host: {get_param: [ServiceNetMap, GnocchiApiNetwork]}
81 gnocchi::api::keystone_auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri]}
82 gnocchi::api::keystone_identity_uri: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
83 gnocchi::storage::swift::swift_authurl: {get_param: [EndpointMap, KeystoneInternal, uri]}
85 include ::tripleo::profile::base::gnocchi::api