Skip to content

Commit

Permalink
Add Vagrantfile to run Fluentd in Linux box very easily (especially f…
Browse files Browse the repository at this point in the history
…or OSX users)
  • Loading branch information
tagomoris committed Apr 19, 2016
1 parent 1a3df5e commit 38aafa3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ Gemfile.local
.ruby-version
*.swp
coverage/*
.vagrant/
17 changes: 17 additions & 0 deletions Vagrantfile
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

0 comments on commit 38aafa3

Please sign in to comment.