summaryrefslogtreecommitdiff
path: root/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/configure-leap.sh4
-rwxr-xr-xvagrant/install-platform.pp7
2 files changed, 1 insertions, 10 deletions
diff --git a/vagrant/configure-leap.sh b/vagrant/configure-leap.sh
index b22756de..8751c763 100755
--- a/vagrant/configure-leap.sh
+++ b/vagrant/configure-leap.sh
@@ -24,7 +24,7 @@ chown ${USER}:${USER} ${PROVIDERDIR}
cd $PROVIDERDIR
$LEAP $OPTS new --contacts "$contacts" --domain "$provider_domain" --name "$provider_name" --platform=/vagrant .
-$SUDO echo -e '\n@log = "/var/log/leap/deploy.log"' >> Leapfile
+echo -e '\n@log = "./deploy.log"' >> Leapfile
if [ ! -e /home/${USER}/.ssh/id_rsa ]; then
$SUDO ssh-keygen -f /home/${USER}/.ssh/id_rsa -P ''
@@ -61,10 +61,8 @@ gem install rake
$LEAP $OPTS -v 2 deploy
-set +e
$GIT add .
$GIT commit -m'initialized and deployed provider'
-set -e
# Vagrant: leap_mx fails to start on jessie
# https://leap.se/code/issues/7755
diff --git a/vagrant/install-platform.pp b/vagrant/install-platform.pp
index 8d177156..223853c1 100755
--- a/vagrant/install-platform.pp
+++ b/vagrant/install-platform.pp
@@ -1,13 +1,6 @@
class {'apt': }
Exec['update_apt'] -> Package <||>
-
-if $::lsbdistcodename == 'wheezy' {
- package { 'ruby-hiera-puppet':
- ensure => installed
- }
-}
-
# install leap_cli from source, so it will work with the develop
# branch of leap_platform
class { '::leap::cli::install':