Make tuskar element supply tripleo-heat-templates
Tuskar API service requires tripleo-heat-templates on start, so it's the task of tuskar image element to clone t-h-t git repo and do a checkout of the given tag or commit id. Blueprint: tripleo-heat-templates Change-Id: Ife3ae07bc6ce43e4593b4874cd52be87c900166c
This commit is contained in:
parent
e63751ae7c
commit
dc564b4fd0
|
@ -18,3 +18,14 @@ tuskar:
|
|||
- the password of the user to deploy the overcloud on behalf of
|
||||
tenant_name:
|
||||
- the tenant name of the user to deploy the overcloud on behalf of
|
||||
|
||||
Tuskar API uses Heat templates provided by tripleo-heat-templates project.
|
||||
One can set the following environment variables to customize how templates
|
||||
are obtained:
|
||||
|
||||
- *DIB_REPOTYPE_tuskar-templates* type of repo (git, tar)
|
||||
Defaults to: git
|
||||
- *DIB_REPOLOCATION_tuskar-templates* repo location (uri)
|
||||
Defaults to: git://git.openstack.org/openstack/tripleo-heat-templates
|
||||
- *DIB_REPOREF_tuskar-templates* ref to checkout (for git repos: branch/tag/commit id)
|
||||
Defaults to: master
|
||||
|
|
|
@ -6,5 +6,6 @@ os-svc-install -n tuskar -u tuskar -r /opt/stack/tuskar
|
|||
|
||||
install -d -m 0750 -o tuskar -g tuskar /etc/tuskar
|
||||
cp -a /opt/stack/tuskar/etc/tuskar/policy.json /etc/tuskar
|
||||
cp -a /opt/stack/tuskar/etc/tuskar/tripleo-heat-templates /etc/tuskar
|
||||
|
||||
os-svc-daemon tuskar-api tuskar tuskar-api "--config-dir /etc/tuskar"
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
tuskar git /opt/stack/tuskar https://git.openstack.org/cgit/openstack/tuskar
|
||||
tuskar-templates git /opt/stack/tuskar/etc/tuskar/tripleo-heat-templates https://git.openstack.org/cgit/openstack/tripleo-heat-templates
|
||||
|
|
Loading…
Reference in New Issue