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