From 74440eb96426eadce133d21f7b5ad4a25c98370b Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 8 Jan 2016 13:22:36 +0000 Subject: [PATCH] Include extra conf file updates when updating SHA's This patch updates the sources-branch-updater convenience script to make it also check for additional updates relating to policy.json, paste.ini, rootwrap.conf, rootwrap filters, etc. This ensures that the SHA updates are more complete and the updates require less effort to do. In addition to the script update there are some changes to other file names and locations in order to facilitate the file's ability to do everything correctly. The changes enforce a specific convention for the names and locations of files it manages. Change-Id: I99899e61e0527639abc8b3bae0296a891607a31d --- files/{ => rootwrap.d}/volume.filters | 0 tasks/cinder_post_install.yml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename files/{ => rootwrap.d}/volume.filters (100%) diff --git a/files/volume.filters b/files/rootwrap.d/volume.filters similarity index 100% rename from files/volume.filters rename to files/rootwrap.d/volume.filters diff --git a/tasks/cinder_post_install.yml b/tasks/cinder_post_install.yml index 3134b302..e9e8c30d 100644 --- a/tasks/cinder_post_install.yml +++ b/tasks/cinder_post_install.yml @@ -51,7 +51,7 @@ owner: "{{ cinder_system_user_name }}" group: "{{ cinder_system_group_name }}" with_items: - - { src: "volume.filters", dest: "/etc/cinder/rootwrap.d/volume.filters" } + - { src: "rootwrap.d/volume.filters", dest: "/etc/cinder/rootwrap.d/volume.filters" } notify: - Restart cinder services tags: