diff options
author | 2014-11-27 13:01:54 +1100 | |
---|---|---|
committer | 2014-11-27 13:07:10 +1100 | |
commit | 6f16c9638384ad2e2972b6b9cd2a3c6e72ef58bf (patch) | |
tree | 36b2138401f83bfda470fba2681f40a87801c61e /swift-storage-source.yaml | |
parent | bacde7fdb6ea6b41be7d9802796d3b8b52538529 (diff) |
Remove default flavor from every template
With the push to using the new setup-flavors provided by
os-cloud-config, the default flavor will no longer be called
'baremetal', and Heat will always validate the default even if it
is overridden. To that end, remove the default flavor from every
flavor definition. Just to be certain, also add a custom_constraint
to every flavor definition that was missing it.
Change-Id: I24251e73be4e86738857f73b89499f592c4908de
Diffstat (limited to 'swift-storage-source.yaml')
-rw-r--r-- | swift-storage-source.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/swift-storage-source.yaml b/swift-storage-source.yaml index 10155df9..176925b6 100644 --- a/swift-storage-source.yaml +++ b/swift-storage-source.yaml @@ -2,9 +2,10 @@ heat_template_version: 2013-05-23 description: 'Common Swift Storage Configuration' parameters: OvercloudSwiftStorageFlavor: - default: baremetal description: Flavor for Swift storage nodes to request when deploying. type: string + constraints: + - custom_constraint: nova.flavor SwiftReplicas: type: number default: 1 |