aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
diff options
context:
space:
mode:
authorChristian Schwede <cschwede@redhat.com>2016-11-30 21:03:25 +0000
committerChristian Schwede <cschwede@redhat.com>2016-11-30 21:03:25 +0000
commit659cdf185121f92a0f1ef983e054191f9eaf91d3 (patch)
treed1cad74fd6fd9699761bd354f546d2d3d11f7cd6 /manifests/profile/base
parent66efa98ba266e8dddcfa1c60cacf6dd9a797e18a (diff)
Include swift::storage::loopbacks class
This makes it possible to create loopback devices for Swift by using additional Hieradata. For example, to create a 100M loopback device that will be mounted on /srv/node/d1: parameter_defaults: ControllerExtraConfig: swift::storage::loopbacks::args: {"d1": {'seek': '100000'}} Depends-On: I11a230b7cf08a4cc2a144d9af0e6c81bb3827348 Change-Id: I8741acc8afa1f1d23c5b25fa4bf27622f674a561
Diffstat (limited to 'manifests/profile/base')
-rw-r--r--manifests/profile/base/swift/storage.pp1
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/profile/base/swift/storage.pp b/manifests/profile/base/swift/storage.pp
index 568be66..df9a2c1 100644
--- a/manifests/profile/base/swift/storage.pp
+++ b/manifests/profile/base/swift/storage.pp
@@ -36,6 +36,7 @@ class tripleo::profile::base::swift::storage (
if $enable_swift_storage {
include ::swift::config
include ::swift::storage::disks
+ include ::swift::storage::loopbacks
include ::swift::storage::all
if(!defined(File['/srv/node'])) {
file { '/srv/node':