Merge "Avoid hard-coding OS user/group in each manifest"
This commit is contained in:
commit
769f3fee40
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# [*user*]
|
# [*user*]
|
||||||
# (Optional) User to run dbsync command.
|
# (Optional) User to run dbsync command.
|
||||||
# Defaults to 'tacker'
|
# Defaults to $::tacker::params::user
|
||||||
#
|
#
|
||||||
# [*db_sync_timeout*]
|
# [*db_sync_timeout*]
|
||||||
# (Optional) Timeout for the execution of the db_sync
|
# (Optional) Timeout for the execution of the db_sync
|
||||||
|
@ -18,9 +18,9 @@
|
||||||
#
|
#
|
||||||
class tacker::db::sync(
|
class tacker::db::sync(
|
||||||
$extra_params = '--config-file /etc/tacker/tacker.conf',
|
$extra_params = '--config-file /etc/tacker/tacker.conf',
|
||||||
$user = 'tacker',
|
$user = $::tacker::params::user,
|
||||||
$db_sync_timeout = 300,
|
$db_sync_timeout = 300,
|
||||||
) {
|
) inherits tacker::params {
|
||||||
|
|
||||||
include tacker::deps
|
include tacker::deps
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
class tacker::params {
|
class tacker::params {
|
||||||
include openstacklib::defaults
|
include openstacklib::defaults
|
||||||
|
|
||||||
|
$user = 'tacker'
|
||||||
$group = 'tacker'
|
$group = 'tacker'
|
||||||
$client_package_name = 'python3-tackerclient'
|
$client_package_name = 'python3-tackerclient'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue