diff --git a/manifests/api.pp b/manifests/api.pp index 888eac53..9c7ab2bb 100644 --- a/manifests/api.pp +++ b/manifests/api.pp @@ -425,7 +425,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.") } }