instack-undercloud/heat-templates/os-disk-config-deployment.yaml
Ben Nemec 07201f0517 Add Heat templates for os-disk-config
With these templates and resource registry it is possible to pass
json to os-disk-config via a Heat parameter.
2015-02-10 18:03:07 -06:00

36 lines
679 B
YAML

heat_template_version: 2014-10-16
parameters:
flavor:
type: string
default: baremetal_compute
image:
type: string
default: os-disk-config
key_name:
type: string
default: default
node_count:
type: number
default: 1
disk_config:
type: string
default: {}
resources:
disk_config_servers:
type: OS::Heat::ResourceGroup
properties:
count: {get_param: node_count}
resource_def:
type: OS::TripleO::DiskConfig
properties:
flavor: {get_param: flavor}
image: {get_param: image}
key_name: {get_param: key_name}
disk_config: {get_param: disk_config}