blob: c7cfa4467c14848d8c87c3ce41f04cdee626a73c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
heat_template_version: 2013-05-23
description: >
Template for deploying the nodes based on given policies.
parameters: {}
resources:
my_server:
type: OS::Nova::Server
properties:
flavor: m1.medium
image: rhel-6.5-test-image
scheduler_hints:
group:
get_resource: my_compute_placement_policy
user_data_format: SOFTWARE_CONFIG
my_compute_placement_policy:
type: OS::Nova::ServerGroup
properties:
name: my_compute_placement_policy
policies:
- affinity
outputs: {}
|