From 08a0c0a177c88703facd62f90d55ddd61138cbce Mon Sep 17 00:00:00 2001 From: Evgeniy L Date: Tue, 2 Jun 2015 14:23:47 +0200 Subject: [PATCH] Working mariadb -> keystone -> haproxy connections --- Vagrantfile | 2 +- example.sh | 30 +++++++++ resources/docker/actions/run.yml | 2 +- resources/docker/meta.yaml | 10 ++- .../actions/remove.yml | 0 .../actions/run.yml | 0 .../{haproxy => haproxy_config}/meta.yaml | 4 +- .../templates/haproxy.cfg | 0 resources/haproxy_keystone_config/meta.yaml | 4 +- resources/keystone_config/meta.yaml | 2 +- resources/keystone_service/meta.yaml | 4 +- .../actions/remove.yml | 0 .../actions/run.yml | 0 .../meta.yaml | 12 ++-- .../actions/remove.yml | 0 .../actions/run.yml | 0 .../meta.yaml | 8 +-- resources/mariadb_service/actions/run.yml | 6 ++ resources/mariadb_service/meta.yaml | 4 +- solar/solar/cli.py | 19 ++++++ solar/solar/core/connections.py | 4 +- solar/solar/core/handlers/ansible.py | 5 -- templates/profile.yml | 64 ++++++++++++------- 23 files changed, 126 insertions(+), 54 deletions(-) create mode 100755 example.sh rename resources/{haproxy => haproxy_config}/actions/remove.yml (100%) rename resources/{haproxy => haproxy_config}/actions/run.yml (100%) rename resources/{haproxy => haproxy_config}/meta.yaml (88%) rename resources/{haproxy => haproxy_config}/templates/haproxy.cfg (100%) rename resources/{mariadb_db => mariadb_keystone_db}/actions/remove.yml (100%) rename resources/{mariadb_db => mariadb_keystone_db}/actions/run.yml (100%) rename resources/{mariadb_db => mariadb_keystone_db}/meta.yaml (75%) rename resources/{mariadb_user => mariadb_keystone_user}/actions/remove.yml (100%) rename resources/{mariadb_user => mariadb_keystone_user}/actions/run.yml (100%) rename resources/{mariadb_user => mariadb_keystone_user}/meta.yaml (79%) diff --git a/Vagrantfile b/Vagrantfile index eda077ad..3a37201c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,7 +3,7 @@ # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" -SLAVES_COUNT = 2 +SLAVES_COUNT = 3 init_script = <