From c48c1761df45ae6ba2eb4ddf2c9d28412b384e3b Mon Sep 17 00:00:00 2001 From: Eamonn O'Toole 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-storage.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'swift-storage.yaml') diff --git a/swift-storage.yaml b/swift-storage.yaml index 68fd8a48..2b40e800 100644 --- a/swift-storage.yaml +++ b/swift-storage.yaml @@ -59,6 +59,10 @@ parameters: default: default description: Name of an existing EC2 KeyPair to enable SSH access to the instances type: string + MountCheck: + default: 'false' + description: Value of mount_check in Swift account/container/object -server.conf + type: boolean NeutronEnableTunnelling: default: "True" type: string @@ -143,6 +147,7 @@ resources: snmpd_readonly_user_name: {get_param: SnmpdReadonlyUserName} snmpd_readonly_user_password: {get_param: SnmpdReadonlyUserPassword} swift_hash_suffix: {get_param: HashSuffix} + swift_mount_check: {get_param: MountCheck} swift_password: {get_param: Password} swift_part_power: {get_param: PartPower} swift_replicas: { get_param: Replicas} -- cgit 1.2.3-korg