memcached (openstack) is no longer in use
[mirror/dsa-puppet.git] / 3rdparty / modules / glance / manifests / backend / file.pp
1 #
2 # used to configure file backends for glance
3 #
4 #  $filesystem_store_datadir - Location where dist images are stored when
5 #  default_store == file.
6 #  Optional. Default: /var/lib/glance/images/
7 class glance::backend::file(
8   $filesystem_store_datadir = '/var/lib/glance/images/'
9 ) inherits glance::api {
10
11   glance_api_config {
12     'glance_store/default_store':            value => 'file';
13     'glance_store/filesystem_store_datadir': value => $filesystem_store_datadir;
14   }
15
16   glance_cache_config {
17     'glance_store/filesystem_store_datadir': value => $filesystem_store_datadir;
18   }
19 }