Remove remaining hard-code of username in each manifest
This is follow-up of f781eb9e34 and
replaces the remaining hard-coded user name by the central definition
in swift::params.
Change-Id: I285e7fec6d679b04016009519675bc29ed4e759e
			
			
This commit is contained in:
		@@ -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}",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user