0098067226
Fix warning: "ensure found on line but it's not the first attribute" Change-Id: Iecc0cd4fe267c40fbef9a84ff1da2eaff5aa45a7
24 lines
651 B
Puppet
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'],
|
|
}
|
|
}
|