- sls: cinder._ssl.volume_mysql
- sls: cinder._ssl.rabbitmq
-/var/lock/cinder:
+{%- if volume.get('concurrency', {}).lock_path is defined %}
+cinder_volumer_lock_path_{{ volume.concurrency.lock_path }}:
file.directory:
- - mode: 755
+ - name: {{ volume.concurrency.lock_path }}
- user: cinder
- group: cinder
+ - mode: 750
+ - makedirs: True
- require:
- pkg: cinder_volume_packages
- require_in:
- service: cinder_volume_services
+{%- endif %}
{%- if volume.message_queue.get('ssl',{}).get('enabled', False) %}
rabbitmq_ca_cinder_volume: