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:
Roman Podolyaka 2013-10-16 15:06:20 +03:00
parent e63751ae7c
commit dc564b4fd0
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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"

View File

@ -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