summaryrefslogtreecommitdiff
path: root/vagrant/install-platform.pp
blob: 5ea834b1b3a5a1e05526ac49ffad1941f97d2b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class {'apt': }
File['/etc/apt/preferences'] ->
  Exec['refresh_apt'] ->
  Package <| ( title != 'lsb' ) |>


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