Puppet Class: openstack::profile::cinder::api
- Defined in:
- manifests/profile/cinder/api.pp
Overview
The profile for installing the Cinder API
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'manifests/profile/cinder/api.pp', line 2
class openstack::profile::cinder::api {
openstack::resources::controller { 'cinder': }
openstack::resources::database { 'cinder': }
openstack::resources::firewall { 'Cinder API': port => '8776', }
class { '::cinder::keystone::auth':
password => hiera('openstack::cinder::password'),
public_address => hiera('openstack::controller::address::api'),
admin_address => hiera('openstack::controller::address::management'),
internal_address => hiera('openstack::controller::address::management'),
region => hiera('openstack::region'),
}
include ::openstack::common::cinder
class { '::cinder::api':
keystone_password => hiera('openstack::cinder::password'),
keystone_auth_host => hiera('openstack::controller::address::management'),
enabled => true,
}
class { '::cinder::scheduler':
scheduler_driver => 'cinder.scheduler.simple.SimpleScheduler',
enabled => true,
}
}
|