Include ::swift::config in Swift API and Storage roles
authorGiulio Fidente <gfidente@redhat.com>
Fri, 7 Oct 2016 12:57:01 +0000 (14:57 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Fri, 7 Oct 2016 12:57:01 +0000 (14:57 +0200)
This changes makes the Swift API and Storage roles to include the
::swift::config class, as we do for the other OpenStack services,
which is useful to push arbitrary config settings into Swift.

Change-Id: Iaf2c2f0f0103fe9264ce875099a1578b353a5558

manifests/profile/base/swift/proxy.pp
manifests/profile/base/swift/storage.pp

index fc9fe11..321dccd 100644 (file)
@@ -38,6 +38,7 @@ class tripleo::profile::base::swift::proxy (
 ) {
   if $step >= 4 {
     $swift_memcache_servers = suffix(any2array(normalize_ip_for_uri($memcache_servers)), ":${memcache_port}")
+    include ::swift::config
     include ::swift::proxy
     include ::swift::proxy::proxy_logging
     include ::swift::proxy::healthcheck
index d1660de..568be66 100644 (file)
@@ -34,6 +34,7 @@ class tripleo::profile::base::swift::storage (
 ) {
   if $step >= 4 {
     if $enable_swift_storage {
+      include ::swift::config
       include ::swift::storage::disks
       include ::swift::storage::all
       if(!defined(File['/srv/node'])) {