Merge "Avoid hard-coding OS user/group in each manifest"

This commit is contained in:
Zuul 2022-02-22 20:36:38 +00:00 committed by Gerrit Code Review
commit b463bd2e09
2 changed files with 3 additions and 1 deletions

View File

@ -26,10 +26,11 @@ class trove::db::sync(
) {
include trove::deps
include trove::params
exec { 'trove-manage db_sync':
path => '/usr/bin',
user => 'trove',
user => $::trove::params::user,
refreshonly => true,
try_sleep => 5,
tries => 10,

View File

@ -6,6 +6,7 @@ class trove::params {
include openstacklib::defaults
$client_package_name = 'python3-troveclient'
$user = 'trove'
$group = 'trove'
case $::osfamily {