Auto-set SwiftMountCheck and SwiftUseLocalDir settings
authorChristian Schwede <cschwede@redhat.com>
Wed, 21 Dec 2016 10:06:44 +0000 (10:06 +0000)
committerChristian Schwede <cschwede@redhat.com>
Fri, 6 Jan 2017 07:32:18 +0000 (08:32 +0100)
commitf6511ece5f6c510110205621fc292a2a03d87d4e
treeea46892f4d8add3a5a3a8ab0d426d11a4dc3f906
parent384c400d472702392ff506c26d652bcf585f1ec6
Auto-set SwiftMountCheck and SwiftUseLocalDir settings

This patch automatically sets the options SwiftMountCheck and
SwiftUseLocalDir depending on SwiftRawDisks.

If SwiftRawDisks is set, the usage of a local directory will be
automatically disabled in the ringbuilder and the mount check option
will be enabled.

Change-Id: If58cecc94c25603f50411ffe60ad24c104147c66
puppet/services/swift-ringbuilder.yaml
puppet/services/swift-storage.yaml