Merge "Avoid hard-coding OS user/group in each manifest"
This commit is contained in:
commit
b463bd2e09
@ -26,10 +26,11 @@ class trove::db::sync(
|
|||||||
) {
|
) {
|
||||||
|
|
||||||
include trove::deps
|
include trove::deps
|
||||||
|
include trove::params
|
||||||
|
|
||||||
exec { 'trove-manage db_sync':
|
exec { 'trove-manage db_sync':
|
||||||
path => '/usr/bin',
|
path => '/usr/bin',
|
||||||
user => 'trove',
|
user => $::trove::params::user,
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
try_sleep => 5,
|
try_sleep => 5,
|
||||||
tries => 10,
|
tries => 10,
|
||||||
|
@ -6,6 +6,7 @@ class trove::params {
|
|||||||
include openstacklib::defaults
|
include openstacklib::defaults
|
||||||
|
|
||||||
$client_package_name = 'python3-troveclient'
|
$client_package_name = 'python3-troveclient'
|
||||||
|
$user = 'trove'
|
||||||
$group = 'trove'
|
$group = 'trove'
|
||||||
|
|
||||||
case $::osfamily {
|
case $::osfamily {
|
||||||
|
Loading…
Reference in New Issue
Block a user