Map NovaEnableRbdBackend to ephemeral_storage from nova::compute::rbd
authorGiulio Fidente <gfidente@redhat.com>
Thu, 2 Jul 2015 11:28:05 +0000 (13:28 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Thu, 2 Jul 2015 11:55:38 +0000 (13:55 +0200)
This maps the template param to the actual class param which optionally
configures Ceph as a backend for the ephemeral storage or for the
persistent storage only. See I4ae0fd605c5a57aa23bea83b06530a50844d24a0

Change-Id: Ic7007da8317e98d450b1362864e65093a184cb25

puppet/compute-puppet.yaml
puppet/manifests/overcloud_compute.pp

index 7e49bc2..afe85d1 100644 (file)
@@ -351,7 +351,7 @@ resources:
                 nova::compute::libvirt::libvirt_virt_type: {get_input: nova_compute_libvirt_type}
                 nova_api_host: {get_input: nova_api_host}
                 nova::compute::vncproxy_host: {get_input: nova_public_ip}
-                nova_enable_rbd_backend: {get_input: nova_enable_rbd_backend}
+                nova::compute::rbd::ephemeral_storage: {get_input: nova_enable_rbd_backend}
                 nova_password: {get_input: nova_password}
                 nova::compute::vncserver_proxyclient_address: {get_input: nova_vnc_proxyclient_address}
                 ceilometer::debug: {get_input: debug}
index 00bab7f..cc26f85 100644 (file)
@@ -51,7 +51,7 @@ nova_config {
   'DEFAULT/linuxnet_interface_driver': value => 'nova.network.linux_net.LinuxOVSInterfaceDriver';
 }
 
-$nova_enable_rbd_backend = hiera('nova_enable_rbd_backend', false)
+$nova_enable_rbd_backend = hiera('nova::compute::rbd::ephemeral_storage', false)
 if $nova_enable_rbd_backend {
   include ::ceph::profile::client