Merge "Remove remaining hard-code of username in each manifest"

This commit is contained in:
Zuul 2022-08-26 17:53:44 +00:00 committed by Gerrit Code Review
commit e6ceaf6d51
1 changed files with 3 additions and 3 deletions

View File

@ -51,10 +51,10 @@ class swift::storage::cron::recon(
$month = '*',
$weekday = '*',
$configfile = '/etc/swift/object-server.conf',
$user = 'swift'
) {
$user = $::swift::params::user
) inherits swift::params {
include swift::deps
include swift::params
cron { 'swift-recon-cron':
command => "swift-recon-cron ${configfile}",