0d83409381
Add puppet parameters lint (with puppet-lint-param-docs gem) and fix missing documentations, this commit also fix metadata.json file (SPDX license, and open dependencies). Change-Id: I0d590b930a8d0263c3a74d861b9786770be7d183
25 lines
654 B
Puppet
25 lines
654 B
Puppet
# === class: glance::backend::file
|
|
#
|
|
# used to configure file backends for glance
|
|
#
|
|
# === parameters:
|
|
#
|
|
# [*filesystem_store_datadir*]
|
|
# Location where dist images are stored when
|
|
# default_store == file.
|
|
# Optional. Default: /var/lib/glance/images/
|
|
#
|
|
class glance::backend::file(
|
|
$filesystem_store_datadir = '/var/lib/glance/images/'
|
|
) inherits glance::api {
|
|
|
|
glance_api_config {
|
|
'glance_store/default_store': value => 'file';
|
|
'glance_store/filesystem_store_datadir': value => $filesystem_store_datadir;
|
|
}
|
|
|
|
glance_cache_config {
|
|
'glance_store/filesystem_store_datadir': value => $filesystem_store_datadir;
|
|
}
|
|
}
|