summaryrefslogtreecommitdiff
path: root/vagrant/install-platform.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-01-01 10:38:00 +0100
committervarac <varacanero@zeromail.org>2015-01-13 12:48:53 +0100
commitb503fc864c8152f4e76d284a6ef89eddec59028b (patch)
tree3a3979c46d4ee575e895ba33c8d6bf6dd1015db8 /vagrant/install-platform.pp
parent53b87cc2b283df665a46a5781974f9ffd047c72c (diff)
Simplyfied Vagrant support, added offlineimap config file
Change-Id: I4bdb6cfe34d4c0edbf31d425d7f682c137ae1596
Diffstat (limited to 'vagrant/install-platform.pp')
-rwxr-xr-xvagrant/install-platform.pp19
1 files changed, 19 insertions, 0 deletions
diff --git a/vagrant/install-platform.pp b/vagrant/install-platform.pp
new file mode 100755
index 00000000..012a0eb0
--- /dev/null
+++ b/vagrant/install-platform.pp
@@ -0,0 +1,19 @@
+class {'apt': }
+File['/etc/apt/preferences'] ->
+ Exec['refresh_apt'] ->
+ Package <| ( title != 'lsb' ) |>
+
+package { [ 'rsync', 'ruby-hiera-puppet', 'git', 'ruby1.9.1-dev', 'rake', 'jq' ]:
+ ensure => installed
+}
+
+package { 'leap_cli':
+ ensure => latest,
+ provider => 'gem',
+ require => Package['ruby1.9.1-dev']
+}
+
+file { [ '/srv/leap', '/srv/leap/configuration', '/var/log/leap' ]:
+ ensure => directory
+}
+