From 2cce66ef44b011ba695dbc3e1586b2e0b8570666 Mon Sep 17 00:00:00 2001 From: Chris Ricker Date: Wed, 5 Mar 2014 08:55:57 -0800 Subject: [PATCH] swift classes need to include swift::params Some of the swift classes use parameterized settings defined in swift::params but do not include the swift::params class. Change-Id: I7704bf42db4554566d27b510bbbedb8afe0fe7b3 Closes-Bug: #1288252 --- manifests/storage/account.pp | 2 ++ manifests/storage/container.pp | 3 +++ manifests/storage/object.pp | 3 +++ 3 files changed, 8 insertions(+) diff --git a/manifests/storage/account.pp b/manifests/storage/account.pp index 848604a1..1ce6865f 100644 --- a/manifests/storage/account.pp +++ b/manifests/storage/account.pp @@ -5,6 +5,8 @@ class swift::storage::account( package_ensure => $package_ensure, } + include swift::params + service { 'swift-account-reaper': ensure => running, name => $::swift::params::account_reaper_service_name, diff --git a/manifests/storage/container.pp b/manifests/storage/container.pp index c8fea9a9..a4002d85 100644 --- a/manifests/storage/container.pp +++ b/manifests/storage/container.pp @@ -12,6 +12,8 @@ class swift::storage::container( package_ensure => $package_ensure } + include swift::params + service { 'swift-container-updater': ensure => running, name => $::swift::params::container_updater_service_name, @@ -19,6 +21,7 @@ class swift::storage::container( provider => $::swift::params::service_provider, require => Package['swift-container'], } + service { 'swift-container-auditor': ensure => running, name => $::swift::params::container_auditor_service_name, diff --git a/manifests/storage/object.pp b/manifests/storage/object.pp index b84f3596..1e49101d 100644 --- a/manifests/storage/object.pp +++ b/manifests/storage/object.pp @@ -5,6 +5,8 @@ class swift::storage::object( package_ensure => $package_ensure } + include swift::params + service { 'swift-object-updater': ensure => running, name => $::swift::params::object_updater_service_name, @@ -12,6 +14,7 @@ class swift::storage::object( provider => $::swift::params::service_provider, require => Package['swift-object'], } + service { 'swift-object-auditor': ensure => running, name => $::swift::params::object_auditor_service_name,