summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2015-01-27 09:24:40 -0500
committerMicah Anderson <micah@leap.se>2015-01-27 09:24:40 -0500
commit01a45b7ee973384ddaac30eeece1b0d22f2a7c2e (patch)
tree08bf1c81510e7dee2a3b87585bbc7a271622897d
parent29961800ca92983cf60131bfe4894ecc4ee13107 (diff)
parenta508fed2ea4ed5b0bb7f7bc10ec76493376709c8 (diff)
Merge remote-tracking branch 'gitlab/develop' into develop
Change-Id: I10b77ee0f6ef8c5aec15b5430ae98fd791c220ac
-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' ]: