Introduce role-specific nova-server-metadata
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 14 Dec 2016 06:08:43 +0000 (08:08 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Fri, 16 Dec 2016 11:46:15 +0000 (13:46 +0200)
commit3078533eef46781d8f1e5a24b7181cdde2f29322
tree2c41524c579eac4fabed63417b9c869f8641f062
parent713a0326e4d0ffbd4531263b7bd638809c2a639c
Introduce role-specific nova-server-metadata

We could already pass metadata to the nova server instances (on
creation) via the ServerMetadata parameter, however, there was no
way of doing this per-role. This introduces that by adding a
{{role}}ServerMetadata parameter for each role. This parameter gets
merged with the ServerMetadata parameter and allows this
functionality.

Note that both default to {}, and so does the result of merging those
parameters with their default values. So nothing changes for the
default settings.

Change-Id: I334edcc51ce7ee82fc13b6cf4c0d74ccb7db099c
puppet/blockstorage-role.yaml
puppet/cephstorage-role.yaml
puppet/compute-role.yaml
puppet/controller-role.yaml
puppet/objectstorage-role.yaml
puppet/role.role.j2.yaml