Allow s3 backend

The allowed backend types were not updated when s3 backend was re-added
by 40315729bc455bfb3dee4abde09e0d8556d96984 .

Closes-Bug: #2088137
Change-Id: I61ea8b88cbe49574c82db8d7398a43c99c18fd4d
This commit is contained in:
Takashi Kajinami 2024-11-14 14:05:14 +09:00
parent 585676dfc0
commit a13b64fcdf

View File

@ -422,7 +422,7 @@ class glance::api(
$enabled_backends_array.each |$backend| {
$backend_type = split($backend, /:/)[1]
unless $backend_type =~ /file|http|swift|rbd|cinder|vsphere/ {
unless $backend_type in ['file', 'http', 'swift', 'rbd', 'cinder', 's3', 'vsphere'] {
fail("\'${backend_type}\' is not a valid backend type.")
}
}