summaryrefslogtreecommitdiff
path: root/vagrant
diff options
context:
space:
mode:
Diffstat (limited to 'vagrant')
-rwxr-xr-xvagrant/install-platform.pp8
1 files changed, 6 insertions, 2 deletions
diff --git a/vagrant/install-platform.pp b/vagrant/install-platform.pp
index 012a0eb0..30f0b1e6 100755
--- a/vagrant/install-platform.pp
+++ b/vagrant/install-platform.pp
@@ -1,16 +1,20 @@
class {'apt': }
File['/etc/apt/preferences'] ->
Exec['refresh_apt'] ->
- Package <| ( title != 'lsb' ) |>
+ Package <| ( title != 'lsb' ) |>
package { [ 'rsync', 'ruby-hiera-puppet', 'git', 'ruby1.9.1-dev', 'rake', 'jq' ]:
ensure => installed
}
+file { '/etc/gemrc':
+ content => "---\n:sources:\n - https://rubygems.org/"
+}
+
package { 'leap_cli':
ensure => latest,
provider => 'gem',
- require => Package['ruby1.9.1-dev']
+ require => [ Package['ruby1.9.1-dev'], File['/etc/gemrc'] ]
}
file { [ '/srv/leap', '/srv/leap/configuration', '/var/log/leap' ]: