diff options
author | Steven Hardy <shardy@redhat.com> | 2016-09-23 15:39:33 +0100 |
---|---|---|
committer | Carlos Camacho <ccamacho@redhat.com> | 2016-09-30 14:11:01 +0000 |
commit | b3c73a7e9924037ab29aff547b3096c8f5fb1a62 (patch) | |
tree | 7ea967fbb842a55de4e5e72460b95e871dc48342 /puppet/objectstorage-config.yaml | |
parent | d601d64e110f5dfd3e471adc82ad8f898158c175 (diff) |
Replace per role manifests with a common role manifest
This removes the (nearly empty) per role manifests, and
replaces them with a generic manifest, where we use str_replace
to substitute the role name at runtime (or in some cases a
subset of the name for backwards compatibility)
Change-Id: I79da0f523189959b783bbcbb3b0f37be778e02fe
Partial-Bug: #1626976
Diffstat (limited to 'puppet/objectstorage-config.yaml')
-rw-r--r-- | puppet/objectstorage-config.yaml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/puppet/objectstorage-config.yaml b/puppet/objectstorage-config.yaml index 33480544..76bffdd1 100644 --- a/puppet/objectstorage-config.yaml +++ b/puppet/objectstorage-config.yaml @@ -1,7 +1,7 @@ heat_template_version: 2015-04-30 description: > - A software config which runs manifests/overcloud_object.pp + A software config which applies puppet on the objectstorage role parameters: ConfigDebug: @@ -32,10 +32,13 @@ resources: config: list_join: - '' - - - get_file: manifests/overcloud_object.pp + - - str_replace: + template: {get_file: manifests/overcloud_role.pp} + params: + __ROLE__: objectstorage - {get_param: StepConfig} outputs: OS::stack_id: - description: The software config which runs overcloud_controller.pp + description: The software config which applies puppet on the objectstorage role value: {get_resource: ObjectStoragePuppetConfigImpl} |