parent
82265d36f3
commit
74187a829b
@ -15,9 +15,9 @@
|
||||
#
|
||||
|
||||
class cloud::storage::rbd (
|
||||
$fsid = $os_params::ceph_fsid,
|
||||
$cluster_network = $os_params::ceph_cluster_network,
|
||||
$public_network = $os_params::ceph_public_network
|
||||
$fsid = '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
|
||||
$cluster_network = '127.0.0.1/24',
|
||||
$public_network = '127.0.0.1/24'
|
||||
) {
|
||||
|
||||
class { 'ceph::conf':
|
||||
|
@ -16,8 +16,8 @@
|
||||
|
||||
class cloud::storage::rbd::monitor (
|
||||
$id = $::uniqueid,
|
||||
$mon_addr = $os_params::internal_netif_ip,
|
||||
$monitor_secret = $os_params::ceph_mon_secret
|
||||
$mon_addr = '127.0.0.1',
|
||||
$monitor_secret = 'cephmonsecret'
|
||||
) {
|
||||
|
||||
include 'cloud::storage::rbd'
|
||||
|
@ -14,8 +14,8 @@
|
||||
# under the License.
|
||||
#
|
||||
class cloud::storage::rbd::osd (
|
||||
$public_address = $os_params::api_eth,
|
||||
$cluster_address = $os_params::storage_eth,
|
||||
$public_address = '127.0.0.1',
|
||||
$cluster_address = '127.0.0.1',
|
||||
$devices = ['sdb','sdc'],
|
||||
) {
|
||||
|
||||
|
@ -15,14 +15,14 @@
|
||||
#
|
||||
class cloud::storage::rbd::pools(
|
||||
$setup_pools = false,
|
||||
$glance_rbd_user = $os_params::glance_rbd_user,
|
||||
$glance_rbd_pool = $os_params::glance_rbd_pool,
|
||||
$cinder_rbd_user = $os_params::cinder_rbd_user,
|
||||
$cinder_rbd_pool = $os_params::cinder_rbd_pool,
|
||||
$nova_rbd_pool = $os_params::nova_rbd_pool,
|
||||
$cinder_backup_user = $os_params::cinder_rbd_backup_user,
|
||||
$cinder_backup_pool = $os_params::cinder_rbd_backup_pool,
|
||||
$ceph_fsid = $os_params::ceph_fsid,
|
||||
$glance_rbd_user = 'glance',
|
||||
$glance_rbd_pool = 'images',
|
||||
$cinder_rbd_user = 'cinder',
|
||||
$cinder_rbd_pool = 'volumes',
|
||||
$nova_rbd_pool = 'vms',
|
||||
$cinder_backup_user = 'cinder',
|
||||
$cinder_backup_pool = 'cinder_backup',
|
||||
$ceph_fsid = '4a158d27-f750-41d5-9e7f-26ce4c9d2d45'
|
||||
) {
|
||||
|
||||
if $setup_pools {
|
||||
|
Loading…
x
Reference in New Issue
Block a user