summaryrefslogtreecommitdiff
path: root/tests/example-provider/vagrant/install-platform.pp
blob: 223853c1311575d00fec36a4742fd95738cde390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class {'apt': }
Exec['update_apt'] -> Package <||>

# 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