summaryrefslogtreecommitdiff
path: root/vagrant/install-platform.pp
blob: 8d17715632f751a2eef782742e9c9e442b277ee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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':
  source  => true,
}

file { [ '/srv/leap', '/srv/leap/configuration', '/var/log/leap' ]:
  ensure => directory
}

# install prerequisites for configuring the provider
include ::git