Set default parameters for storage/*.pp

Related #1
This commit is contained in:
Yanis Guenane 2014-02-25 13:53:23 -05:00 committed by Emilien Macchi
parent 82265d36f3
commit 74187a829b
4 changed files with 15 additions and 15 deletions

View File

@ -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':

View File

@ -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'

View File

@ -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'],
) {

View File

@ -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 {