Fix db sync relationships

The tuskar puppet module doesn't specify a 'tuskar' package (or
title), the package declaration is managed by generic_service define,
and the package title is generated using service name (eg. 'api') and
the prefix 'tuskar-', so let's switch to 'tuskar-api' for package
dependency.

The tuskar puppet module doesn't specify a 'tuskar' user, let's remove
this relationship.

And finally this patch fix the relationship about 'database/connection'
it's 'database/sql_connection' in this module, and use tuskar_config
instead of Keystone_config.

Change-Id: I7d145f42379abf3c11936fe27ec6d0cdbfc10ab9
This commit is contained in:
Sebastien Badia 2015-01-16 14:23:22 +01:00
parent 6562ab43b5
commit ed2b5944d7
1 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,6 @@ class tuskar::db::sync {
path => '/usr/bin',
user => 'tuskar',
refreshonly => true,
subscribe => [Package['tuskar'], Keystone_config['DEFAULT/sql_connection']],
require => User['tuskar'],
subscribe => [Package['tuskar-api'], Tuskar_config['database/sql_connection']],
}
}