puppet-swift/manifests/storage/object.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

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