README: Replace deprecated config with current config

This commit updates some examples in the README file to use defines
and parameters that aren't deprecated.

Change-Id: Iad3a33379a787e74ca6c89748b64e782d723d158
This commit is contained in:
Trygve Vea 2022-08-22 14:36:32 +02:00
parent ae3a220d66
commit adfef39798

View File

@ -51,9 +51,9 @@ To utilize the glance module's functionality you will need to declare multiple r
```puppet ```puppet
class { 'glance::api::authtoken': class { 'glance::api::authtoken':
password => '12345', password => '12345',
auth_url => 'http://172.17.0.3:5000', auth_url => 'http://172.17.0.3:5000',
auth_uri => 'http://172.17.0.3:5000', www_authenticate_uri => 'http://172.17.0.3:5000',
} }
class { 'glance::api::db': class { 'glance::api::db':
@ -61,11 +61,13 @@ class { 'glance::api::db':
} }
class { 'glance::api': class { 'glance::api':
stores => ['file', 'http'], enabled_backends => ['my_store:file'],
default_store => 'file', default_backend => 'my_store:file',
} }
class { 'glance::backend::file': } glance::backend::multistore::file {
'my_store': ;
}
``` ```
**Setup postgres node glance** **Setup postgres node glance**