diff options
author | elijah <elijah@riseup.net> | 2016-08-29 16:39:13 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-09-01 10:13:31 -0700 |
commit | e6544ecc5a51ad6502a64bd08df71aa7ff75a3ee (patch) | |
tree | 57614836a4efc6a5f64d1609bd109f18c0c669d6 /tests/example-provider/vagrant/install-platform.pp | |
parent | 07c0e60e6bdc5b8bfe1f42f76dae9f0a79e7abb0 (diff) |
moved vagrant example provider to tests/example-provider
Diffstat (limited to 'tests/example-provider/vagrant/install-platform.pp')
-rwxr-xr-x | tests/example-provider/vagrant/install-platform.pp | 15 |
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 |