Added and fixed jinja template stuff in ceph backend

This commit is contained in:
Kiran Thyagaraja 2018-01-20 20:06:58 +00:00
parent 3342dc16ef
commit 6ac759f10d
3 changed files with 6 additions and 5 deletions

View File

@ -47,6 +47,7 @@
tripleo::profile::base::ceph::ceph_mon_host: ceph_mon_host
ceph::profile::params::fsid: ceph_cluster_fsid
ceph::profile::params::authentication_type: authentication_type
default: '{{cinder_config}}'
fact_variable: 'cinder_config'

View File

View File

@ -1,10 +1,10 @@
[global]
fsid = {{result.conf_dict['ceph_cluster_fsid']}}
mon_host = {{result.conf_dict['ceph_mon_host']}
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
auth_supported = cephx
mon_host = {{result.conf_dict['ceph_mon_host']}}
auth_cluster_required = {{result.conf_dict['authentication_type']}}
auth_service_required = {{result.conf_dict['authentication_type']}}
auth_client_required = {{result.conf_dict['authentication_type']}}
auth_supported = {{result.conf_dict['authentication_type']}}
[client]
rbd_default_features = 1