Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp . Change-Id: I808f2c8bb4b8222b03c96faf400fb0a439dc31cd
This commit is contained in:
parent
538f6d5237
commit
00064f41d2
@ -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,
|
||||
|
@ -6,6 +6,7 @@ class trove::params {
|
||||
include openstacklib::defaults
|
||||
|
||||
$client_package_name = 'python3-troveclient'
|
||||
$user = 'trove'
|
||||
$group = 'trove'
|
||||
|
||||
case $::osfamily {
|
||||
|
Loading…
Reference in New Issue
Block a user