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
This commit is contained in:
Chris Ricker 2014-03-05 08:55:57 -08:00
parent 162e8f4ceb
commit 2cce66ef44
3 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,8 @@ class swift::storage::account(
package_ensure => $package_ensure, package_ensure => $package_ensure,
} }
include swift::params
service { 'swift-account-reaper': service { 'swift-account-reaper':
ensure => running, ensure => running,
name => $::swift::params::account_reaper_service_name, name => $::swift::params::account_reaper_service_name,

View File

@ -12,6 +12,8 @@ class swift::storage::container(
package_ensure => $package_ensure package_ensure => $package_ensure
} }
include swift::params
service { 'swift-container-updater': service { 'swift-container-updater':
ensure => running, ensure => running,
name => $::swift::params::container_updater_service_name, name => $::swift::params::container_updater_service_name,
@ -19,6 +21,7 @@ class swift::storage::container(
provider => $::swift::params::service_provider, provider => $::swift::params::service_provider,
require => Package['swift-container'], require => Package['swift-container'],
} }
service { 'swift-container-auditor': service { 'swift-container-auditor':
ensure => running, ensure => running,
name => $::swift::params::container_auditor_service_name, name => $::swift::params::container_auditor_service_name,

View File

@ -5,6 +5,8 @@ class swift::storage::object(
package_ensure => $package_ensure package_ensure => $package_ensure
} }
include swift::params
service { 'swift-object-updater': service { 'swift-object-updater':
ensure => running, ensure => running,
name => $::swift::params::object_updater_service_name, name => $::swift::params::object_updater_service_name,
@ -12,6 +14,7 @@ class swift::storage::object(
provider => $::swift::params::service_provider, provider => $::swift::params::service_provider,
require => Package['swift-object'], require => Package['swift-object'],
} }
service { 'swift-object-auditor': service { 'swift-object-auditor':
ensure => running, ensure => running,
name => $::swift::params::object_auditor_service_name, name => $::swift::params::object_auditor_service_name,