0098067226
Fix warning: "ensure found on line but it's not the first attribute" Change-Id: Iecc0cd4fe267c40fbef9a84ff1da2eaff5aa45a7
23 lines
643 B
Puppet
23 lines
643 B
Puppet
class swift::storage::object(
|
|
$package_ensure = 'present'
|
|
) {
|
|
swift::storage::generic { 'object':
|
|
package_ensure => $package_ensure
|
|
}
|
|
|
|
service { 'swift-object-updater':
|
|
ensure => running,
|
|
name => $::swift::params::object_updater_service_name,
|
|
enable => true,
|
|
provider => $::swift::params::service_provider,
|
|
require => Package['swift-object'],
|
|
}
|
|
service { 'swift-object-auditor':
|
|
ensure => running,
|
|
name => $::swift::params::object_auditor_service_name,
|
|
enable => true,
|
|
provider => $::swift::params::service_provider,
|
|
require => Package['swift-object'],
|
|
}
|
|
}
|