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