[release-announce] [puppet] puppet-swift 10.1.0 (ocata)

no-reply at openstack.org no-reply at openstack.org
Thu Dec 15 12:59:21 UTC 2016


We are gleeful to announce the release of:

puppet-swift 10.1.0: Puppet module for OpenStack Swift

This release is part of the ocata release series.

Download the package from:

    https://tarballs.openstack.org/puppet-swift/

For more details, please see below.

10.1.0
^^^^^^

Add support for swift storage policies. This change adds storage
policy support to the swift ringbuilder class as well as
ring_object_device. This change also adds a new custom type/provider
called swift_storage_policy that is used to create and enforce rules
for storage policies in swift.conf


New Features
************

* memcache_servers support in object-expirer and container-
  reconciler

* Adds a wrapper class for the storage::loopback definition, making
  it possible to add multiple loopback devices using a Hiera hash.

* Add support for swift storage policies. This change adds storage
  policy support to the swift ringbuilder class as well as
  ring_object_device. The swift ringbuilder provider was modified to
  accept ring_object_device with a name that starts with an integer
  followed by colon.  For example, a ring_object_device without a
  storage policy would be named 127.0.0.1:6000/4 A ring_object_device
  that should be included in storage-policy:1 would be
  1:127.0.0.1:6000/4. Spec tests were split up and updated to test the
  changes to ring_object_device as well.

* This change also adds a new custom type/provider called
  swift_storage_policy that is used to create and enforce rules for
  storage policies in swift.conf This provider enforces rules
  established by the swift project for storage_policies.  This
  provider uses the puppet inifile provider to control storage policy
  entries in swift.conf.  This provider implements a way to
  remove/purge a storage policy including it's section header from
  swift.conf.

* An upcoming change will enable the use of erasure code through
  swift storage policies.


Upgrade Notes
*************

* No action is required by existing users of this module.  To begin
  using storage policies follow the example upgrade procedure in the
  README under the swift storage policy section.

Changes in puppet-swift 10.0.0..10.1.0
--------------------------------------

9e6fff2 Prepare 10.1.0 release
d4922be memcache_servers support in object-expirer and container-reconciler
2ed8403 Add swift::storage::loopbacks class
83f105f Secure amqp_url option
72ae69d Show team and repo badges on README
63688a1 Add support for swift storage policies
1b8869e Pass subscribe and require into service resource


Diffstat (except docs and test files)
-------------------------------------

README.md                                          | 142 +++++++-
.../ring_account_device/swift_ring_builder.rb      |  11 +-
.../ring_container_device/swift_ring_builder.rb    |  10 +-
.../ring_object_device/swift_ring_builder.rb       |  17 +-
.../ini_setting.rb                                 |  10 +
lib/puppet/provider/swift_ring_builder.rb          |  76 +++--
lib/puppet/provider/swift_storage_policy/ruby.rb   | 235 ++++++++++++++
lib/puppet/type/ring_account_device.rb             |   3 +
lib/puppet/type/ring_container_device.rb           |   3 +
lib/puppet/type/ring_object_device.rb              |   7 +-
.../type/swift_container_reconciler_config.rb      |  55 ++++
lib/puppet/type/swift_storage_policy.rb            |  69 ++++
manifests/containerreconciler.pp                   | 103 ++++++
manifests/deps.pp                                  |   4 +
manifests/objectexpirer.pp                         |  25 +-
manifests/params.pp                                |   3 +
manifests/proxy.pp                                 |   2 +-
manifests/proxy/ceilometer.pp                      |   2 +-
manifests/ringbuilder/policy_ring.pp               |  58 ++++
manifests/service.pp                               |  23 +-
manifests/storage/account.pp                       |   4 +-
manifests/storage/container.pp                     |   8 +-
manifests/storage/generic.pp                       |   6 +-
manifests/storage/loopbacks.pp                     |  29 ++
manifests/storage/node.pp                          |  20 +-
manifests/storage/object.pp                        |   2 +-
manifests/storage/policy.pp                        |  99 ++++++
metadata.json                                      |   4 +-
.../memcache-servers-support-092ed535a0c26ae1.yaml |   3 +
.../swift-loopbacks-class-9b24b216099c7d98.yaml    |   5 +
.../swift-storage-policies-5d20b2623ca87f84.yaml   |  36 +++
releasenotes/source/conf.py                        |   4 +-
spec/acceptance/basic_swift_spec.rb                |  86 ++++-
spec/classes/swift_containerreconciler_spec.rb     | 108 +++++++
spec/classes/swift_objectexpirer_spec.rb           | 157 ++++-----
spec/classes/swift_proxy_ceilometer_spec.rb        |   2 +-
spec/classes/swift_storage_loopbacks_spec.rb       |  51 +++
spec/defines/swift_ringbuilder_policy_ring_spec.rb |  78 +++++
spec/defines/swift_storage_node_spec.rb            |  62 ++--
.../ring_account_device/swift_ring_builder_spec.rb | 283 ++++++++++++++++
.../swift_ring_builder_spec.rb                     | 284 ++++++++++++++++
.../ring_object_device/swift_ring_builder_spec.rb  | 360 +++++++++++++++++++++
.../puppet/provider/swift_ring_builder_spec.rb     | 238 --------------
.../puppet/provider/swift_storage_policy/ruby.rb   | 209 ++++++++++++
spec/unit/puppet/type/ring_account_device_spec.rb  |   6 +
.../unit/puppet/type/ring_container_device_spec.rb |   7 +
spec/unit/puppet/type/ring_object_device_spec.rb   |   6 +
spec/unit/puppet/type/swift_storage_policy.rb      |  76 +++++
48 files changed, 2657 insertions(+), 434 deletions(-)






More information about the Release-announce mailing list