Puppet Class: gnocchi::storage::swift
- Defined in:
- manifests/storage/swift.pp
Overview
gnocchi::storage::swift
Swift driver for Gnocchi
Parameters
- swift_auth_version
-
(optional) ‘Swift authentication version to user. Defaults to ’1’.
- swift_authurl
-
(optional) Swift auth URL. Defaults to ‘localhost:8080/auth/v1.0’.
- swift_user
-
(optional) Swift user. Defaults to ‘admin:admin’
- swift_key
-
(optional) Swift key. Defaults to ‘admin’
- swift_tenant_name
-
(optional) Swift tenant name, only used if swift_auth_version is ‘2’. Defaults to undef
- swift_endpoint_type
-
(optional) Swift endpoint type. Defines the keystone endpoint type (publicURL, internalURL or adminURL). Defaults to undef
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'manifests/storage/swift.pp', line 49
class gnocchi::storage::swift(
$swift_auth_version = '1',
$swift_authurl = 'http://localhost:8080/auth/v1.0',
$swift_user = 'admin:admin',
$swift_key = 'admin',
$swift_tenant_name = undef,
$swift_endpoint_type = $::os_service_default,
) {
include gnocchi::deps
gnocchi_config {
'storage/driver': value => 'swift';
'storage/swift_user': value => $swift_user;
'storage/swift_key': value => $swift_key;
'storage/swift_tenant_name': value => $swift_tenant_name;
'storage/swift_auth_version': value => $swift_auth_version;
'storage/swift_authurl': value => $swift_authurl;
'storage/swift_endpoint_type': value => $swift_endpoint_type;
}
}
|