From 45775fe01a499a2c3a73807482013d45c0e2652e Mon Sep 17 00:00:00 2001 From: Jehan-Guillaume de Rorthais Date: Fri, 29 Nov 2019 19:36:13 +0100 Subject: [PATCH] Rename "test" as "extra" --- {test => extra}/Makefile | 0 {test => extra}/README.md | 0 {test => extra}/Vagrantfile | 2 +- {test => extra}/provision/cluster-common.bash | 0 {test => extra}/provision/cts.bash | 0 {test => extra}/provision/id_rsa | 0 {test => extra}/provision/id_rsa.pub | 0 {test => extra}/provision/log_sink.bash | 0 {test => extra}/provision/pacemaker.bash | 0 {test => extra}/provision/pgsql-primary.bash | 0 {test => extra}/provision/pgsql-replicas.bash | 0 {test => extra}/provision/system.bash | 4 ++-- {test => extra}/vagrant.yml-dist | 0 13 files changed, 3 insertions(+), 3 deletions(-) rename {test => extra}/Makefile (100%) rename {test => extra}/README.md (100%) rename {test => extra}/Vagrantfile (98%) rename {test => extra}/provision/cluster-common.bash (100%) rename {test => extra}/provision/cts.bash (100%) rename {test => extra}/provision/id_rsa (100%) rename {test => extra}/provision/id_rsa.pub (100%) rename {test => extra}/provision/log_sink.bash (100%) rename {test => extra}/provision/pacemaker.bash (100%) rename {test => extra}/provision/pgsql-primary.bash (100%) rename {test => extra}/provision/pgsql-replicas.bash (100%) rename {test => extra}/provision/system.bash (89%) rename {test => extra}/vagrant.yml-dist (100%) diff --git a/test/Makefile b/extra/Makefile similarity index 100% rename from test/Makefile rename to extra/Makefile diff --git a/test/README.md b/extra/README.md similarity index 100% rename from test/README.md rename to extra/README.md diff --git a/test/Vagrantfile b/extra/Vagrantfile similarity index 98% rename from test/Vagrantfile rename to extra/Vagrantfile index cfeaec0..c939b7a 100644 --- a/test/Vagrantfile +++ b/extra/Vagrantfile @@ -60,7 +60,7 @@ Vagrant.configure(2) do |config| # disable default share config.vm.synced_folder ".", "/vagrant", disabled: true - config.vm.synced_folder "..", "/vagrant", type: "rsync", + config.vm.synced_folder "../../..", "/vagrant", type: "rsync", rsync__exclude: [ ".git/" ] # system setup for all nodes diff --git a/test/provision/cluster-common.bash b/extra/provision/cluster-common.bash similarity index 100% rename from test/provision/cluster-common.bash rename to extra/provision/cluster-common.bash diff --git a/test/provision/cts.bash b/extra/provision/cts.bash similarity index 100% rename from test/provision/cts.bash rename to extra/provision/cts.bash diff --git a/test/provision/id_rsa b/extra/provision/id_rsa similarity index 100% rename from test/provision/id_rsa rename to extra/provision/id_rsa diff --git a/test/provision/id_rsa.pub b/extra/provision/id_rsa.pub similarity index 100% rename from test/provision/id_rsa.pub rename to extra/provision/id_rsa.pub diff --git a/test/provision/log_sink.bash b/extra/provision/log_sink.bash similarity index 100% rename from test/provision/log_sink.bash rename to extra/provision/log_sink.bash diff --git a/test/provision/pacemaker.bash b/extra/provision/pacemaker.bash similarity index 100% rename from test/provision/pacemaker.bash rename to extra/provision/pacemaker.bash diff --git a/test/provision/pgsql-primary.bash b/extra/provision/pgsql-primary.bash similarity index 100% rename from test/provision/pgsql-primary.bash rename to extra/provision/pgsql-primary.bash diff --git a/test/provision/pgsql-replicas.bash b/extra/provision/pgsql-replicas.bash similarity index 100% rename from test/provision/pgsql-replicas.bash rename to extra/provision/pgsql-replicas.bash diff --git a/test/provision/system.bash b/extra/provision/system.bash similarity index 89% rename from test/provision/system.bash rename to extra/provision/system.bash index 1952133..7009a6d 100755 --- a/test/provision/system.bash +++ b/extra/provision/system.bash @@ -40,8 +40,8 @@ Host * StrictHostKeyChecking no EOF -cp "/vagrant/test/provision/id_rsa" "/home/vagrant/.ssh" -cp "/vagrant/test/provision/id_rsa.pub" "/home/vagrant/.ssh" +cp "/vagrant/extra/vagrant/3nodes-vip/provision/id_rsa" "/home/vagrant/.ssh" +cp "/vagrant/extra/vagrant/3nodes-vip/provision/id_rsa.pub" "/home/vagrant/.ssh" chown -R "vagrant:" "/home/vagrant/.ssh" chmod 0700 "/home/vagrant/.ssh" diff --git a/test/vagrant.yml-dist b/extra/vagrant.yml-dist similarity index 100% rename from test/vagrant.yml-dist rename to extra/vagrant.yml-dist