add ruby 1.9.3 install + bundler, make and rake for jekyll doc support. Add vagrant port 4000 forwarding for jekyll documentation build watcher

This commit is contained in:
Jeff Steinmetz 2015-11-26 13:24:51 -08:00
parent 9a78355390
commit cfb1034a79
6 changed files with 40 additions and 2 deletions

View file

@ -83,6 +83,7 @@ The virtual machine consists of:
- Ubuntu Server 14.04 LTS
- Node.js 0.12.7
- npm 2.11.3
- ruby 1.9.3 + rake, make and bundler (only required if building jekyll documentation)
- Maven 3.3.3
- Git
- Unzip

View file

@ -70,6 +70,7 @@ The virtual machine consists of:
- Ubuntu Server 14.04 LTS
- Node.js 0.12.7
- npm 2.11.3
- ruby 1.9.3 + rake, make and bundler (only required if building jekyll documentation)
- Maven 3.3.3
- Git
- Unzip

View file

@ -37,9 +37,11 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Forward local host port 8080 to zeppelin port 8080
# Forward local host port 4040 to spark UI port 4040
# comment out the following line out to use a fixed IP
# Forward local host port 4000 to jekyll documentation port 4000
# comment out the following lines to use a fixed IP
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network "forwarded_port", guest: 4040, host: 4040
config.vm.network "forwarded_port", guest: 4000, host: 4000
# Uncomment to create a private network, which allows access to the machine

View file

@ -18,6 +18,7 @@
sudo: yes
roles:
- common
- ruby
- java7jdk
- nodejs
- maven

View file

@ -14,7 +14,7 @@
# limitations under the License.
# setup maven
# Assumes Ubuntu Server 14.04 LTS (HVM)
# Assumes Ubuntu Server 14.04 LTS
# Assumes Java 7+ jdk installed
---

View file

@ -0,0 +1,33 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# setup ruby
# Assumes Ubuntu Server 14.04 LTS
---
- name: Install ruby 1.9.3
apt: pkg=ruby1.9.3 state=present
- name: set global ruby version
alternatives: name=ruby path=/usr/bin/ruby1.9.1 link=/usr/bin/ruby
- name: Install make
apt: pkg=make state=latest
- name: Install latest available version of rake.
gem: name=rake state=latest user_install=no
- name: Install latest available version of bundler.
gem: name=bundler state=latest user_install=no