summaryrefslogtreecommitdiff
path: root/tests/example-provider/vagrant
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-12-20 22:34:16 +0100
committervarac <varacanero@zeromail.org>2016-12-20 22:34:16 +0100
commitda70f97f9478281c296c3412dc1f25ada989eeb2 (patch)
treeb020b2b1aeadd949fd92d6969fd792d7dc30ed42 /tests/example-provider/vagrant
parentdc43b30079316ed41bf95eca902d5d65ba877888 (diff)
[Vagrant] Remove versioning of provider config
Diffstat (limited to 'tests/example-provider/vagrant')
-rwxr-xr-xtests/example-provider/vagrant/configure-leap.sh7
-rwxr-xr-xtests/example-provider/vagrant/install-platform.pp3
-rw-r--r--tests/example-provider/vagrant/vagrant.config2
3 files changed, 0 insertions, 12 deletions
diff --git a/tests/example-provider/vagrant/configure-leap.sh b/tests/example-provider/vagrant/configure-leap.sh
index fd34d7ea..8bd591e0 100755
--- a/tests/example-provider/vagrant/configure-leap.sh
+++ b/tests/example-provider/vagrant/configure-leap.sh
@@ -35,10 +35,6 @@ echo '{ "webapp": { "admins": ["testadmin"] } }' > services/webapp.json
$LEAP $OPTS compile
-$GIT init
-$GIT add .
-$GIT commit -m'configured provider'
-
$LEAP $OPTS node init $NODE
if [ $? -eq 1 ]; then
echo 'node init failed'
@@ -52,9 +48,6 @@ gem install rake
$LEAP $OPTS -v 2 deploy
-$GIT add .
-$GIT commit -m'initialized and deployed provider'
-
# Vagrant: leap_mx fails to start on jessie
# https://leap.se/code/issues/7755
# Workaround: we stop and start leap-mx after deploy and
diff --git a/tests/example-provider/vagrant/install-platform.pp b/tests/example-provider/vagrant/install-platform.pp
index 223853c1..9cefcf7c 100755
--- a/tests/example-provider/vagrant/install-platform.pp
+++ b/tests/example-provider/vagrant/install-platform.pp
@@ -10,6 +10,3 @@ class { '::leap::cli::install':
file { [ '/srv/leap', '/srv/leap/configuration', '/var/log/leap' ]:
ensure => directory
}
-
-# install prerequisites for configuring the provider
-include ::git
diff --git a/tests/example-provider/vagrant/vagrant.config b/tests/example-provider/vagrant/vagrant.config
index 60d2a52c..ff5dd38f 100644
--- a/tests/example-provider/vagrant/vagrant.config
+++ b/tests/example-provider/vagrant/vagrant.config
@@ -19,5 +19,3 @@ SUDO="sudo -u ${USER}"
PROVIDERDIR="/home/${USER}/leap/configuration"
PLATFORMDIR="/srv/leap_platform"
LEAP="$SUDO /usr/local/bin/leap"
-GIT="$SUDO git"
-