Created
April 23, 2013 14:39
-
-
Save cwjohnston/5444098 to your computer and use it in GitHub Desktop.
sensu full stack in a vagrant box drop these puppies in the sensu-chef repo
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
| site :opscode | |
| metadata | |
| cookbook 'redis', | |
| git: 'git://github.com/miah/chef-redis.git' | |
| cookbook 'monitor', | |
| git: 'git://github.com/portertech/chef-monitor.git' |
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
| Vagrant.configure("2") do |config| | |
| config.berkshelf.enabled = true | |
| config.omnibus.version = '11.4.2' | |
| config.vm.box = 'opscode-ubuntu-12.04_chef-10.18.2' | |
| config.vm.box_url = 'https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-10.18.2.box' | |
| config.vm.provider "virtualbox" do |v| | |
| v.customize [ "modifyvm", :id, "--memory", 1024] | |
| v.customize [ "modifyvm", :id, "--cpus", 2 ] | |
| v.name = "sensu-berkshelf" | |
| end | |
| config.vm.network :public_network | |
| config.ssh.max_tries = 40 | |
| config.ssh.timeout = 120 | |
| config.vm.provision :chef_solo do |chef| | |
| chef.log_level = 'debug' | |
| chef.data_bags_path = 'examples/data_bags' | |
| chef.json = { | |
| :sensu => { | |
| :use_embedded_runit => true, | |
| :use_unstable_repo => true, | |
| :version => '0.9.13.beta-1' | |
| } | |
| } | |
| chef.run_list = [ | |
| "recipe[monitor::master]" | |
| ] | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment