Merge "Don't store Nova DB credentials on compute nodes"
[apex-tripleo-heat-templates.git] / compute-config.yaml
1 heat_template_version: 2014-10-16
2
3 description: >
4   Software Config for Nova Compute.
5
6 resources:
7   NovaComputeConfigImpl:
8     type: OS::Heat::StructuredConfig
9     properties:
10       group: os-apply-config
11       config:
12         nova:
13           compute_driver: { get_input: nova_compute_driver }
14           compute_libvirt_type: { get_input: nova_compute_libvirt_type }
15           debug: {get_input: debug}
16           host: {get_input: nova_api_host}
17           public_ip: {get_input: nova_public_ip}
18           service-password: {get_input: nova_password}
19         ceilometer:
20           db: {get_input: ceilometer_dsn}
21           debug: {get_input: debug}
22           metering_secret: {get_input: ceilometer_metering_secret}
23           service-password: {get_input: ceilometer_password}
24           compute_agent: {get_input: ceilometer_compute_agent}
25         snmpd:
26           export_MIB: UCD-SNMP-MIB
27           readonly_user_name: {get_input: snmpd_readonly_user_name}
28           readonly_user_password: {get_input: snmpd_readonly_user_password}
29         glance:
30           debug: {get_input: debug}
31           host: {get_input: glance_host}
32           port: {get_input: glance_port}
33           protocol: {get_input: glance_protocol}
34         keystone:
35           debug: {get_input: debug}
36           host: {get_input: keystone_host}
37         neutron:
38           debug: {get_input: debug}
39           flat-networks: {get_input: neutron_flat_networks}
40           host: {get_input: neutron_host}
41           router_distributed: {get_input: neutron_router_distributed}
42           agent_mode: {get_input: neutron_agent_mode}
43           ovs_db: {get_input: neutron_dsn}
44           metadata_proxy_shared_secret: {get_input: neutron_metadata_proxy_shared_secret}
45           mechanism_drivers: {get_input: neutron_mechanism_drivers}
46           allow_automatic_l3agent_failover: {get_input: neutron_allow_l3agent_failover}
47           ovs:
48             local_ip: {get_input: neutron_local_ip}
49             tenant_network_type: {get_input: neutron_tenant_network_type}
50             tunnel_types: {get_input: neutron_tunnel_types}
51             network_vlan_ranges: {get_input: neutron_network_vlan_ranges}
52             bridge_mappings: {get_input: neutron_bridge_mappings}
53             enable_tunneling: {get_input: neutron_enable_tunneling}
54             physical_bridge: {get_input: neutron_physical_bridge}
55             public_interface: {get_input: neutron_public_interface}
56             public_interface_raw_device: {get_input: neutron_public_interface_raw_device}
57           service-password: {get_input: neutron_password}
58         admin-password: {get_input: admin_password}
59         rabbit:
60           host: {get_input: rabbit_host}
61           username: {get_input: rabbit_username}
62           password: {get_input: rabbit_password}
63         ntp:
64           servers:
65               - {server: {get_input: ntp_server}, fudge: "stratum 0"}
66
67 outputs:
68   config_id:
69     description: The ID of the NovaComputeConfigImpl resource.
70     value:
71       {get_resource: NovaComputeConfigImpl}