2cce66ef44
Some of the swift classes use parameterized settings defined in swift::params but do not include the swift::params class. Change-Id: I7704bf42db4554566d27b510bbbedb8afe0fe7b3 Closes-Bug: #1288252
26 lines
676 B
Puppet
26 lines
676 B
Puppet
class swift::storage::account(
|
|
$package_ensure = 'present'
|
|
) {
|
|
swift::storage::generic { 'account':
|
|
package_ensure => $package_ensure,
|
|
}
|
|
|
|
include swift::params
|
|
|
|
service { 'swift-account-reaper':
|
|
ensure => running,
|
|
name => $::swift::params::account_reaper_service_name,
|
|
enable => true,
|
|
provider => $::swift::params::service_provider,
|
|
require => Package['swift-account'],
|
|
}
|
|
|
|
service { 'swift-account-auditor':
|
|
ensure => running,
|
|
name => $::swift::params::account_auditor_service_name,
|
|
enable => true,
|
|
provider => $::swift::params::service_provider,
|
|
require => Package['swift-account'],
|
|
}
|
|
}
|