puppet-swift/spec/defines
Takashi Kajinami 11b193cab8 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
2022-08-22 19:37:40 +09:00
..
swift_proxy_tempauth_account_spec.rb Fix ignored unit tests 2021-12-02 11:05:08 +09:00
swift_ringbuilder_create_spec.rb Fix type validation warning for storage policy rings 2022-08-22 19:37:40 +09:00
swift_ringbuilder_policy_ring_spec.rb Fix rspec-puppet-facts testing 2018-05-19 14:17:20 +02:00
swift_ringbuilder_rebalance_spec.rb Fix type validation warning for storage policy rings 2022-08-22 19:37:40 +09:00
swift_storage_disk_spec.rb Improve test coverage of swift::storage::disk 2022-05-24 10:46:56 +09:00
swift_storage_filter_healthcheck_spec.rb Use ini provider to manage storage config files 2022-08-16 11:27:03 +09:00
swift_storage_filter_recon_spec.rb Use ini provider to manage storage config files 2022-08-16 11:27:03 +09:00
swift_storage_generic_spec.rb Use validate_legacy 2019-02-25 22:49:42 +01:00
swift_storage_loopback_spec.rb Fix rspec-puppet-facts testing 2018-05-19 14:17:20 +02:00
swift_storage_mount_spec.rb Avoid hard-coding OS user/group in each manifest 2022-02-22 01:09:15 +09:00
swift_storage_node_spec.rb Use validate_legacy 2019-02-25 22:49:42 +01:00
swift_storage_server_spec.rb Use ini provider to manage storage config files 2022-08-16 11:27:03 +09:00
swift_storage_xfs_spec.rb Fix rspec-puppet-facts testing 2018-05-19 14:17:20 +02:00