16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'manifests/inventory.pp', line 16
class ironic::inventory (
$data_backend = $facts['os_service_default'],
$swift_data_container = $facts['os_service_default'],
) {
include ironic::deps
include ironic::params
if ! is_service_default($data_backend) {
validate_legacy(Enum['none', 'database', 'swift'], 'validate_re', $data_backend,
['^none$', '^database$', '^swift$'])
}
ironic_config {
'inventory/data_backend': value => $data_backend;
'inventory/swift_data_container': value => $swift_data_container;
}
}
|