Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Add support for Glance disk_formats configuration"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 28, 2020
2 parents 9ec226b + 0d8231c commit fa29cb3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deployment/glance/glance-api-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ parameters:
List of enabled Image Import Plugins. Valid values in the list are
'image_conversion', 'inject_metadata', 'no_op'.
type: comma_delimited_list
GlanceDiskFormats:
default: ''
description: >
List of allowed disk formats in Glance; all formats are allowed when
left unset.
type: comma_delimited_list
GlanceImageConversionOutputFormat:
default: 'raw'
description: Desired output format for image conversion plugin.
Expand Down Expand Up @@ -516,6 +522,11 @@ outputs:
glance::api::filesystem_store_metadata_file: '/etc/glance/glance-metadata-file.json'
glance::api::filesystem_store_file_perm: '0644'
- {}
-
if:
- {equals: [{get_param: GlanceDiskFormats}, []]}
- {}
- glance::api::disk_formats: {get_param: GlanceDiskFormats}
- glance::api::sync_db: false
service_config_settings:
mysql:
Expand Down

0 comments on commit fa29cb3

Please sign in to comment.