Fix get incorrect argument in hash (Glance VMware)

vc_ca_file not contain any data if user not specify CA certificate
bundle.

Change-Id: I98b1f6411071586060f80a363952502b7ff3e08e
Closes-bug: #1559067
(cherry picked from commit 1ae0afc43e)
This commit is contained in:
Alexander Arzhanov 2016-05-19 13:14:29 +03:00
parent e00ef91189
commit c4ec151cc0
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ class openstack_tasks::glance::glance {
}
}
'vmware': {
if ! empty($glance_vcenter_ca_file['content']) {
if ! empty($glance_vcenter_ca_file) {
$vcenter_ca_filename = $glance_vcenter_ca_file['name']
$vcenter_ca_filepath = "/etc/glance/${glance_vcenter_ca_filename}"