puppet-swift/manifests/storage/account.pp
Chris Ricker 2cce66ef44 swift classes need to include swift::params
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
2014-03-05 08:58:10 -08:00

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'],
}
}