Convert ringbuilder to build devices array
authorSteven Hardy <shardy@redhat.com>
Fri, 2 Sep 2016 08:09:58 +0000 (09:09 +0100)
committerJiri Stransky <jistr@redhat.com>
Fri, 2 Sep 2016 15:22:48 +0000 (17:22 +0200)
commit4b006b7c328ae9c5842f69044284948155da5fee
treeb49518e7130b2d1d327a484f5afb40f7c16db3ba
parentaaf9dc5b55742cc92fbc8e2e525db00fd7f93104
Convert ringbuilder to build devices array

Currently we have some hard-coded mangling in t-h-t but we
instead need to build the array based on the nodes running swift
storage, combined with the SwiftRawDisks parameter.

This will enable running SwiftStorage on nodes other than Controller
and SwiftStorage roles, and is required for custom-roles due to
the hard-coded stuff in the role templates and overcloud.yaml

Change-Id: I11deed1df712ecccf85d36a75b3bd2e9d226af36
Partially-Implements: blueprint custom-roles
lib/puppet/parser/functions/tripleo_swift_devices.rb [new file with mode: 0644]
manifests/profile/base/swift/ringbuilder.pp