Merge "Use "optional" for ceph confs"

This commit is contained in:
Jenkins 2016-02-19 20:25:17 +00:00 committed by Gerrit Code Review
commit 0109f99fb1
2 changed files with 20 additions and 4 deletions

View File

@ -6,6 +6,20 @@
"dest": "/etc/cinder/cinder.conf",
"owner": "cinder",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/ceph.client.cinder-backup.keyring",
"dest": "/etc/ceph/ceph.client.cinder-backup.keyring",
"owner": "cinder",
"perm": "0600",
"optional": "true"
},
{
"source": "{{ container_config_directory }}/ceph.conf",
"dest": "/etc/ceph/ceph.conf",
"owner": "cinder",
"perm": "0600",
"optional": "true"
}
]
}

View File

@ -6,18 +6,20 @@
"dest": "/etc/cinder/cinder.conf",
"owner": "cinder",
"perm": "0600"
}{% if enable_ceph | bool %},
},
{
"source": "{{ container_config_directory }}/ceph.client.cinder.keyring",
"dest": "/etc/ceph/ceph.client.cinder.keyring",
"owner": "cinder",
"perm": "0600"
"perm": "0600",
"optional": "true"
},
{
"source": "{{ container_config_directory }}/ceph.conf",
"dest": "/etc/ceph/ceph.conf",
"owner": "cinder",
"perm": "0600"
}{% endif %}
"perm": "0600",
"optional": "true"
}
]
}