From dbe67005a59f90a1ffe8e2d8b550ec5d6ca27a7e Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 19 Jan 2016 11:10:49 +0100 Subject: Permits configuration of Cinder enabled_backend via hieradata It is currently possible to provide arbitrary config settings for Cinder using the "cinder::config::cinder_config:" hiera key. To add a backend though particular one has to edit the list of enabled backends in Cinder too which isn't possible. This change will make it possible using a user-customizable array of backends to be enabled. Change-Id: Ic664c1c2b0f7b1b4b6be8b5064a38650694d4857 --- puppet/manifests/overcloud_volume.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'puppet/manifests/overcloud_volume.pp') diff --git a/puppet/manifests/overcloud_volume.pp b/puppet/manifests/overcloud_volume.pp index 72cd36c3..66722f57 100644 --- a/puppet/manifests/overcloud_volume.pp +++ b/puppet/manifests/overcloud_volume.pp @@ -44,7 +44,7 @@ if $cinder_enable_iscsi { $cinder_enabled_backends = any2array($cinder_iscsi_backend) class { '::cinder::backends' : - enabled_backends => $cinder_enabled_backends, + enabled_backends => union($cinder_enabled_backends, hiera('cinder_user_enabled_backends')), } $snmpd_user = hiera('snmpd_readonly_user_name') -- cgit 1.2.3-korg