Created
June 18, 2014 09:35
-
-
Save ijin/e48c8d8ebad157929bd2 to your computer and use it in GitHub Desktop.
Vagrantfile for td-agent
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.require_version ">= 1.5.0" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.hostname = 'td-agent' | |
config.vm.box = "chef/ubuntu-12.04" | |
#config.omnibus.chef_version = :latest | |
config.omnibus.chef_version = '10.26.0' | |
config.vm.provision "shell", inline: "apt-get update" | |
config.vm.provision "chef_solo" do |chef| | |
chef.run_list = [ | |
"recipe[td-agent::default]" | |
] | |
chef.json = { | |
:td_agent => { | |
:plugins => ["rewrite"] | |
} | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment