From d9700294e06f0df9d9c10d6064cf4d9259580de2 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 11 Mar 2016 12:04:33 +0000 Subject: [PATCH] Rename api-paste and policy configuration files The api-paste file was incorrectly named api_paste.ini when implemented on the designate server, and therefore wasn't being used. The policy.json template file was renamed to policy.json.j2 to keep consistent with conventions in OpenStack-Ansible. This eases the process for updating the files automatically through convenience scripts. --- tasks/designate_post_install.yml | 4 ++-- templates/{api_paste.ini.j2 => api-paste.ini.j2} | 0 templates/{policy.json => policy.json.j2} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename templates/{api_paste.ini.j2 => api-paste.ini.j2} (100%) rename templates/{policy.json => policy.json.j2} (100%) diff --git a/tasks/designate_post_install.yml b/tasks/designate_post_install.yml index 305434b..28fcb03 100644 --- a/tasks/designate_post_install.yml +++ b/tasks/designate_post_install.yml @@ -27,11 +27,11 @@ dest: "/etc/designate/designate.conf" config_overrides: "{{ designate_designate_conf_overrides }}" config_type: "ini" - - src: "api_paste.ini.j2" + - src: "api-paste.ini.j2" dest: "/etc/designate/api_paste.ini" config_overrides: "{{ designate_api_paste_ini_overrides }}" config_type: "ini" - - src: "policy.json" + - src: "policy.json.j2" dest: "/etc/designate/policy.json" config_overrides: "{{ designate_policy_overrides }}" config_type: "json" diff --git a/templates/api_paste.ini.j2 b/templates/api-paste.ini.j2 similarity index 100% rename from templates/api_paste.ini.j2 rename to templates/api-paste.ini.j2 diff --git a/templates/policy.json b/templates/policy.json.j2 similarity index 100% rename from templates/policy.json rename to templates/policy.json.j2