-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Vagrantfile to run Fluentd in Linux box very easily (especially f…
…or OSX users)
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ Gemfile.local | |
.ruby-version | ||
*.swp | ||
coverage/* | ||
.vagrant/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure(2) do |config| | ||
config.vm.box = "ubuntu/trusty64" | ||
config.vm.network "private_network", type: "dhcp" | ||
config.vm.provision "shell", inline: <<-SHELL | ||
sudo apt-get install -y software-properties-common | ||
sudo apt-add-repository ppa:brightbox/ruby-ng | ||
sudo apt-get update | ||
sudo apt-get install -y build-essential git ruby2.3 ruby2.3-dev | ||
sudo apt-get install -y ruby-switch | ||
sudo ruby-switch --set ruby2.3 | ||
gem install bundler | ||
(cd /vagrant; bundle install) | ||
SHELL | ||
end |