Allow use of raw disks for Swift storage role
authorGiulio Fidente <gfidente@redhat.com>
Wed, 3 Aug 2016 22:16:21 +0000 (00:16 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Wed, 3 Aug 2016 22:17:30 +0000 (00:17 +0200)
Adds a call to swift::storage::disks to make it partition additional
disks to use with Swift.

Depends-On: I3692b17988f8eacb7b8a7df1006a7fe24f587065
Change-Id: Iac75cf2244339fae444be5859b7583e80bafc4e2

manifests/profile/base/swift/storage.pp

index 371cb0d..3447a44 100644 (file)
@@ -35,6 +35,7 @@ class tripleo::profile::base::swift::storage (
 
   if $step >= 4 {
     if $enable_swift_storage {
+      include ::swift::storage::disks
       include ::swift::storage::all
       if(!defined(File['/srv/node'])) {
         file { '/srv/node':