tripleo-image-elements/elements/tuskar
Dan Prince 09234d8286 Ceilo/Ironic/Tuskar: don't hard code venv dir
Updates the ceilometer/ironic/tuskar elements so that we use a new
{SERVICE}_VENV_DIR variable (set via an environment.d hook)
to configure the virtualenv directory.

This is cleaner in that we aren't hard coding /opt/stack/venv
everywhere and also supports both isolated and shared
venvs (which some people would like to use).

Change-Id: I5a4deef3ed79f4b633f273a37cec2aa5a8dbc698
2014-03-13 20:19:40 -04:00
..
environment.d Ceilo/Ironic/Tuskar: don't hard code venv dir 2014-03-13 20:19:40 -04:00
install.d Ceilo/Ironic/Tuskar: don't hard code venv dir 2014-03-13 20:19:40 -04:00
os-config-applier/etc/tuskar Fix tuskar image element config file 2013-10-21 11:29:36 +03:00
os-refresh-config/post-configure.d Ceilo/Ironic/Tuskar: don't hard code venv dir 2014-03-13 20:19:40 -04:00
README.md Make tuskar element supply tripleo-heat-templates 2013-10-17 15:23:57 +03:00
element-deps Add an element installing tuskar API service 2013-10-09 14:57:54 +03:00
source-repository-tuskar Don't use /cgit/ urls for git. 2014-02-21 15:25:12 +13:00

README.md

Install tuskar service from git.

Configuration

Tuskar API requires the following keys to be set via Heat Metadata.

tuskar: overcloud-admin-password: - the password of the overcloud admin user. Use OvercloudAdminPassword template parameter to override this option. db: "mysql://tuskar:unset@localhost/tuskar?charset=utf8" - the connection string for a DB to be used by tuskar-api. username: - the name of the user to deploy the overcloud on behalf of password: - 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