puppet-swift/spec
Takashi Kajinami dd89409533 Fix type validation warning for storage policy rings
Since 63688a14e5 was merged, this module
support configuring storage policies.

When multiple storage policies are used, we need to create multiple
object rings like object.ring.gz, object-1.ring.gz. However the current
regexp to validate the ring name does not consider this format and
shows the type validation warning when creating a non-default policy
rings.

This change updates the regexp used in validation to accept that
object-<number> format as well.

Closes-Bug: #1987260
Change-Id: Ibc7479e7defbfa4c49bf3c9f1574cdcf61b90ab9
(cherry picked from commit 11b193cab8)
(cherry picked from commit 2d1b0a7f8a)
(cherry picked from commit ced957d742)
2022-09-12 18:09:35 +00:00
..
acceptance Add Puppet Litmus 2020-08-31 21:57:38 +02:00
classes Support customizing internal-client.conf 2022-08-23 10:04:04 +00:00
defines Fix type validation warning for storage policy rings 2022-09-12 18:09:35 +00:00
unit Support customizing internal-client.conf 2022-08-23 10:04:04 +00:00
shared_examples.rb spec: updates for rspec-puppet 2.x and rspec 3.x 2015-03-24 15:22:16 +01:00
spec.opts Initial commit. 2012-01-19 18:58:37 -08:00
spec_helper.rb Set fixture paths for unit tests 2021-06-03 06:22:56 +00:00
spec_helper_acceptance.rb Add Puppet Litmus 2020-08-31 21:57:38 +02:00