Puppet: overcloud compute config
[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 parameters:
7   # unused here but is a placeholder for other compute-config templates
8   # which may choose to create in-templates resources that require server
9   server_id:
10     type: string
11     hidden: true
12
13 resources:
14   NovaComputeConfigImpl:
15     type: OS::Heat::StructuredConfig
16     properties:
17       group: os-apply-config
18       config:
19         nova:
20           compute_driver: { get_input: nova_compute_driver }
21           compute_libvirt_type: { get_input: nova_compute_libvirt_type }
22           debug: {get_input: debug}
23           host: {get_input: nova_api_host}
24           public_ip: {get_input: nova_public_ip}
25           service-password: {get_input: nova_password}
26         ceilometer:
27           db: {get_input: ceilometer_dsn}
28           debug: {get_input: debug}
29           metering_secret: {get_input: ceilometer_metering_secret}
30           service-password: {get_input: ceilometer_password}
31           compute_agent: {get_input: ceilometer_compute_agent}
32         snmpd:
33           export_MIB: UCD-SNMP-MIB
34           readonly_user_name: {get_input: snmpd_readonly_user_name}
35           readonly_user_password: {get_input: snmpd_readonly_user_password}
36         glance:
37           debug: {get_input: debug}
38           host: {get_input: glance_host}
39           port: {get_input: glance_port}
40           protocol: {get_input: glance_protocol}
41         keystone:
42           debug: {get_input: debug}
43           host: {get_input: keystone_host}
44         neutron:
45           debug: {get_input: debug}
46           flat-networks: {get_input: neutron_flat_networks}
47           host: {get_input: neutron_host}
48           router_distributed: {get_input: neutron_router_distributed}
49           agent_mode: {get_input: neutron_agent_mode}
50           ovs_db: {get_input: neutron_dsn}
51           metadata_proxy_shared_secret: {get_input: neutron_metadata_proxy_shared_secret}
52           mechanism_drivers: {get_input: neutron_mechanism_drivers}
53           allow_automatic_l3agent_failover: {get_input: neutron_allow_l3agent_failover}
54           ovs:
55             local_ip: {get_input: neutron_local_ip}
56             tenant_network_type: {get_input: neutron_tenant_network_type}
57             tunnel_types: {get_input: neutron_tunnel_types}
58             network_vlan_ranges: {get_input: neutron_network_vlan_ranges}
59             bridge_mappings: {get_input: neutron_bridge_mappings}
60             enable_tunneling: {get_input: neutron_enable_tunneling}
61             physical_bridge: {get_input: neutron_physical_bridge}
62             public_interface: {get_input: neutron_public_interface}
63             public_interface_raw_device: {get_input: neutron_public_interface_raw_device}
64           service-password: {get_input: neutron_password}
65         admin-password: {get_input: admin_password}
66         rabbit:
67           host: {get_input: rabbit_host}
68           username: {get_input: rabbit_username}
69           password: {get_input: rabbit_password}
70         ntp:
71           servers:
72               - {server: {get_input: ntp_server}, fudge: "stratum 0"}
73
74 outputs:
75   config_id:
76     description: The ID of the NovaComputeConfigImpl resource.
77     value:
78       {get_resource: NovaComputeConfigImpl}