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