From c48c1761df45ae6ba2eb4ddf2c9d28412b384e3b Mon Sep 17 00:00:00 2001
From: Eamonn O'Toole <eamonn.otoole@hp.com>
Date: Wed, 22 Oct 2014 14:06:09 +0100
Subject: Add swift.mount-check metadata

We've submitted a patch (https://review.openstack.org/#/c/130172/)
to set the value of mount_check to swift.mount-check if it exists,
and otherwise to set mount_check to false.  By default TripleO
deployments set mount_check to false since they do not use mounted
disks to store data.  However we (HP) and others are now using
TripleO to deploy Swift servers with mounted drives for data, in
which case mount_check should be set to True.  This change adds
swift.mount-check data and sets it to the value of the
SwiftMountCheck parameter, which has a default value of False.

Change-Id: I36fece56bafa9fe9c4883b572687b3fc819eeae1
---
 swift-source.yaml | 1 +
 1 file changed, 1 insertion(+)

(limited to 'swift-source.yaml')

diff --git a/swift-source.yaml b/swift-source.yaml
index 815ca7f5..e6fd951e 100644
--- a/swift-source.yaml
+++ b/swift-source.yaml
@@ -7,6 +7,7 @@ resources:
         swift:
           devices: { get_input: swift_devices }
           hash: { get_input: swift_hash_suffix }
+          mount-check: { get_input: swift_mount_check }
           part-power: { get_input: swift_part_power }
           proxy-memcache: { get_input: swift_proxy_memcache }
           replicas: {get_input: swift_replicas }
-- 
cgit