mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
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:
parent
9a78355390
commit
cfb1034a79
6 changed files with 40 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
4
scripts/vagrant/zeppelin-dev/Vagrantfile
vendored
4
scripts/vagrant/zeppelin-dev/Vagrantfile
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
sudo: yes
|
||||
roles:
|
||||
- common
|
||||
- ruby
|
||||
- java7jdk
|
||||
- nodejs
|
||||
- maven
|
||||
|
|
|
|||
|
|
@ -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
|
||||
---
|
||||
|
||||
|
|
|
|||
33
scripts/vagrant/zeppelin-dev/roles/ruby/tasks/main.yml
Normal file
33
scripts/vagrant/zeppelin-dev/roles/ruby/tasks/main.yml
Normal 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
|
||||
Loading…
Reference in a new issue