puppet-swift/manifests/storage/account.pp
Derek Higgins 90f58f8f92 Start swift support services on Red Hat
Now starting these services on all distros
swift-account-auditor swift-container-auditor swift-object-auditor
swift-account-reaper swift-container-updater swift-object-updater

Change-Id: I98cfcef3b43a2bdad6f359e4e4098a6113245353
2013-04-24 06:16:59 -04:00

24 lines
643 B
Puppet

class swift::storage::account(
$package_ensure = 'present'
) {
swift::storage::generic { 'account':
package_ensure => $package_ensure,
}
service { 'swift-account-reaper':
name => $::swift::params::account_reaper_service_name,
ensure => running,
enable => true,
provider => $::swift::params::service_provider,
require => Package['swift-account'],
}
service { 'swift-account-auditor':
name => $::swift::params::account_auditor_service_name,
ensure => running,
enable => true,
provider => $::swift::params::service_provider,
require => Package['swift-account'],
}
}