aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/README.rst
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-12-22 12:08:12 +0000
committerGerrit Code Review <review@openstack.org>2016-12-22 12:08:12 +0000
commitd291083e7f990362a5bb4b3b2b22a006d8bc16c1 (patch)
treed299dc355028eacd4056b21f09c792f8c42faaa6 /puppet/services/README.rst
parent58f3d248bab6ea0ed3433fd3aa485d8c93060f56 (diff)
parentd2da59065dd11cbfb6845040697e21e4def35b8f (diff)
Merge "Add hook to generate metadata from service profiles"
Diffstat (limited to 'puppet/services/README.rst')
-rw-r--r--puppet/services/README.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/puppet/services/README.rst b/puppet/services/README.rst
index 856b306e..6e4e9c1d 100644
--- a/puppet/services/README.rst
+++ b/puppet/services/README.rst
@@ -74,3 +74,17 @@ step, "step2" for the second, etc.
6) Start control-plane services
7) Any additional online migration tasks (e.g data migrations)
+
+Nova Server Metadata Settings
+-----------------------------
+
+One can use the hook of type `OS::TripleO::ServiceServerMetadataHook` to pass
+entries to the nova instances' metadata. It is, however, disabled by default.
+In order to overwrite it one needs to define it in the resource registry. An
+implementation of this hook needs to conform to the following:
+
+* It needs to define an input called `RoleData` of json type. This gets as
+ input the contents of the `role_data` for each role's ServiceChain.
+
+* This needs to define an output called `metadata` which will be given to the
+ Nova Server resource as the instance's metadata.