summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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"
-