Skip to content

Commit

Permalink
Vagrant: Bump to 18.04 and Ruby 2.6.1 (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhsu authored Apr 3, 2019
1 parent eb9276e commit 48d167d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .dev/vagrant/salt/apt/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apt-pkgs:
pkg.latest:
- pkgs:
- daemontools
- git-core
- openjdk-8-jre-headless
- git
- openjdk-11-jre-headless
- tmux
- vim

# JAVA_HOME
/home/vagrant/.bashrc:
file.append:
- text: export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
- text: export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
4 changes: 2 additions & 2 deletions .dev/vagrant/salt/dynamodb/init.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/opt/install/aws/dynamodb.tar.gz:
file.managed:
- source: https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_2017-02-16.tar.gz
- source_hash: sha256=d79732d7cd6e4b66fbf4bb7a7fc06cb75abbbe1bbbfb3d677a24815a1465a0b2
- source: https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_2019-02-07.tar.gz
- source_hash: sha256=3281b5403d0d397959ce444b86a83b44bc521e8b40077a3c2094fa17c9eb3c43
- makedirs: True

/vagrant/spec/DynamoDBLocal-latest:
Expand Down
9 changes: 4 additions & 5 deletions .dev/vagrant/salt/rvm/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rvm-deps:
- gawk
- sed
- curl
- git-core
- git
- subversion
- gnupg2

Expand All @@ -18,10 +18,9 @@ mri-deps:
- pkgs:
- build-essential
- openssl
- libreadline6
- libreadline6-dev
- libreadline-dev
- curl
- git-core
- git
- zlib1g
- zlib1g-dev
- libssl-dev
Expand All @@ -43,7 +42,7 @@ mri-deps:
gpg-trust:
cmd.run:
- cwd: /home/vagrant
- name: gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- name: gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
- runas: vagrant

ruby-{{ pillar['ruby']['version'] }}:
Expand Down
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Vagrant.configure('2') do |config|
# Choose base box
config.vm.box = 'bento/ubuntu-16.04'
config.vm.box = 'bento/ubuntu-18.04'

config.vm.provider 'virtualbox' do |vb|
# Prevent clock skew when host goes to sleep while VM is running
Expand All @@ -20,7 +20,7 @@ Vagrant.configure('2') do |config|
# Pillars
salt.pillar(
'ruby' => {
'version' => '2.4.1'
'version' => '2.6.2'
}
)

Expand Down

0 comments on commit 48d167d

Please sign in to comment.