summaryrefslogtreecommitdiff
path: root/vagrant/install-platform.pp
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant/install-platform.pp')
-rwxr-xr-xvagrant/install-platform.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/vagrant/install-platform.pp b/vagrant/install-platform.pp
new file mode 100755
index 00000000..223853c1
--- /dev/null
+++ b/vagrant/install-platform.pp
@@ -0,0 +1,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