From 4935df7528c8e285403b7762919deab46c2cb387 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 2 Jan 2014 13:51:45 +0100 Subject: [PATCH] rbd: Add leseb in TODO lines Signed-off-by: Emilien Macchi --- manifests/storage/rbd/pools.pp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/manifests/storage/rbd/pools.pp b/manifests/storage/rbd/pools.pp index ef26bd76..c7219ddf 100644 --- a/manifests/storage/rbd/pools.pp +++ b/manifests/storage/rbd/pools.pp @@ -27,14 +27,14 @@ class privatecloud::storage::rbd::pools( if $setup_pools { exec { 'create_glance_images_pool': - # TODO: point PG num with a cluster variable + keyring + # TODO(leseb): point PG num with a cluster variable + keyring command => "ceph osd pool create ${::glance_pool} 128 128", unless => "rados lspools | grep -sq ${::glance_pool}", require => Ceph::Key['admin']; } exec { 'create_glance_images_user_and_key': - # TODO: point PG num with a cluster variable + keyring + # TODO(leseb): point PG num with a cluster variable + keyring command => "\ ceph auth get-or-create client.${::glance_user} mon 'allow r' \ osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'", @@ -44,14 +44,14 @@ osd 'allow class-read object_prefix rbd_children, allow rwx pool=images'", exec { 'create_cinder_volumes_pool': - # TODO: point PG num with a cluster variable + keyring + # TODO(leseb): point PG num with a cluster variable + keyring command => "/usr/bin/ceph osd pool create ${::cinder_pool} 128 128", unless => "/usr/bin/rados lspools | grep -sq ${::cinder_pool}", require => Ceph::Key['admin']; } exec { 'create_cinder_volumes_user_and_key': - # TODO: point PG num with a cluster variable + keyring + # TODO(leseb): point PG num with a cluster variable + keyring command => "ceph auth get-or-create client.${::cinder_user} mon 'allow r' \ osd 'allow class-read object_prefix rbd_children, allow rwx pool=${::glance_pool}, allow rx pool=${::cinder_pool}'", unless => "ceph auth list | egrep '^${::cinder_pool}$'", @@ -59,7 +59,7 @@ osd 'allow class-read object_prefix rbd_children, allow rwx pool=${::glance_pool } # exec { "create cinder backup pool": -# # TODO: point PG num with a cluster variable + keyring +# # TODO(leseb): point PG num with a cluster variable + keyring # command => "/usr/bin/ceph osd pool create ${::cinder_backup_pool} 128 128", # command => "\ #ceph auth get-or-create client.${::cinder_backup_user} mon 'allow r' \