Skip to content

Commit

Permalink
Merge pull request #884 from fluent/add-vagrantfile-for-linux
Browse files Browse the repository at this point in the history
Add Vagrantfile to run Fluentd in Linux box very easily
  • Loading branch information
tagomoris committed Apr 19, 2016
2 parents 9f651fa + 38aafa3 commit 88054a0
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 88054a0

Please sign in to comment.