866182d799
A minor update to existing example template. Added details about what the example template does and what to expect from the example template and cluster created based on this example template. Change-Id: I53c4b9d0921555fd35fb89a5ef1f8696720c4eda
47 lines
908 B
YAML
47 lines
908 B
YAML
heat_template_version: 2014-10-16
|
|
|
|
description: >
|
|
This is just an example Heat template. It only provisions a single server
|
|
instance and does not produce a usable cluster.
|
|
|
|
parameters:
|
|
#
|
|
# REQUIRED PARAMETERS
|
|
#
|
|
ssh_key_name:
|
|
type: string
|
|
description: name of ssh key to be provisioned on our server
|
|
|
|
#
|
|
# OPTIONAL PARAMETERS
|
|
#
|
|
server_image:
|
|
type: string
|
|
default: centos-atomic
|
|
description: glance image used to boot the server
|
|
|
|
server_flavor:
|
|
type: string
|
|
default: m1.small
|
|
description: flavor to use when booting the server
|
|
|
|
resources:
|
|
|
|
example_server:
|
|
type: "OS::Nova::Server"
|
|
properties:
|
|
image:
|
|
get_param: server_image
|
|
flavor:
|
|
get_param: server_flavor
|
|
key_name:
|
|
get_param: ssh_key_name
|
|
|
|
outputs:
|
|
|
|
server_address:
|
|
value: {get_attr: [example_server, accessIPv4]}
|
|
|
|
node_addresses:
|
|
value: []
|