Skip to content

Instantly share code, notes, and snippets.

@ijin
Created June 18, 2014 09:35
Show Gist options
  • Save ijin/e48c8d8ebad157929bd2 to your computer and use it in GitHub Desktop.
Save ijin/e48c8d8ebad157929bd2 to your computer and use it in GitHub Desktop.
Vagrantfile for td-agent
# -*- 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