puppet-swift/manifests/storage/account.pp
Mathieu Gagné 0098067226 Fix puppet-lint warnings about ensure
Fix warning: "ensure found on line but it's not the first attribute"

Change-Id: Iecc0cd4fe267c40fbef9a84ff1da2eaff5aa45a7
2013-08-25 23:29:34 -04:00

24 lines
651 B
Puppet

class swift::storage::account(
$package_ensure = 'present'
) {
swift::storage::generic { 'account':
package_ensure => $package_ensure,
}
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'],
}
}