aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/ceph-storage-puppet.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 /puppet/ceph-storage-puppet.yaml
parent2e97ecdd6d77cd07d06d06d62db9edbf3bd19533 (diff)
parent1f37302f6b8ef7e6ce8dfe37eba528535493dbf9 (diff)
Merge "Allow control of hostname formatting"
Diffstat (limited to 'puppet/ceph-storage-puppet.yaml')
-rw-r--r--puppet/ceph-storage-puppet.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/ceph-storage-puppet.yaml b/puppet/ceph-storage-puppet.yaml
index 4bba126b..615533ee 100644
--- a/puppet/ceph-storage-puppet.yaml
+++ b/puppet/ceph-storage-puppet.yaml
@@ -39,6 +39,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:
CephStorage:
@@ -52,6 +55,7 @@ resources:
- network: ctlplane
user_data_format: SOFTWARE_CONFIG
user_data: {get_resource: NodeUserData}
+ name: {get_param: Hostname}
NodeUserData:
type: OS::TripleO::NodeUserData