Switch creating cinder types to providers from define classes
Change-Id: I8b51fa7fa4ae255ece35643798db2357a92760b0 Depends-On: I4f7e8137fa3e1ad3e141c58eaba110b12101d22c
This commit is contained in:
parent
6761b3a5cf
commit
dc9300061e
@ -83,17 +83,9 @@ class openstack_integration::cinder (
|
|||||||
class { '::cinder::backends':
|
class { '::cinder::backends':
|
||||||
enabled_backends => ['BACKEND_1'],
|
enabled_backends => ['BACKEND_1'],
|
||||||
}
|
}
|
||||||
Cinder::Type {
|
cinder_type { 'BACKEND_1':
|
||||||
os_password => 'a_big_secret',
|
ensure => present,
|
||||||
os_tenant_name => 'services',
|
properties => ['volume_backend_name=BACKEND_1'],
|
||||||
os_username => 'cinder',
|
|
||||||
os_auth_url => 'http://127.0.0.1:5000/v2.0',
|
|
||||||
}
|
|
||||||
cinder::type { 'BACKEND_1':
|
|
||||||
set_key => 'volume_backend_name',
|
|
||||||
set_value => 'BACKEND_1',
|
|
||||||
notify => Service['cinder-volume'],
|
|
||||||
require => Service['cinder-api'],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user