aboutsummaryrefslogtreecommitdiffstats
path: root/swift-storage.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-06-17 18:46:59 +0000
committerGerrit Code Review <review@openstack.org>2015-06-17 18:46:59 +0000
commitd970f0a152a8136de678ecab5a6c7a9b2c1b8856 (patch)
treee9506f1d70a7931989b271b441a890b25597478c /swift-storage.yaml
parent2e97ecdd6d77cd07d06d06d62db9edbf3bd19533 (diff)
parent1f37302f6b8ef7e6ce8dfe37eba528535493dbf9 (diff)
Merge "Allow control of hostname formatting"
Diffstat (limited to 'swift-storage.yaml')
-rw-r--r--swift-storage.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/swift-storage.yaml b/swift-storage.yaml
index c2819349..466f2fbb 100644
--- a/swift-storage.yaml
+++ b/swift-storage.yaml
@@ -88,6 +88,9 @@ parameters:
description: >
Setting to a previously unused value during stack-update will trigger
package update on all nodes
+ Hostname:
+ type: string
+ default: '' # Defaults to Heat created hostname
resources:
SwiftConfig:
@@ -118,6 +121,7 @@ resources:
- network: ctlplane
user_data_format: SOFTWARE_CONFIG
user_data: {get_resource: NodeUserData}
+ name: {get_param: Hostname}
NodeUserData:
type: OS::TripleO::NodeUserData