Skip to content

Instantly share code, notes, and snippets.

@daemonza
Created February 24, 2014 13:42
Show Gist options
  • Save daemonza/9188641 to your computer and use it in GitHub Desktop.
Save daemonza/9188641 to your computer and use it in GitHub Desktop.
Vagrant::Config.run do |config|
## MySQL
config.vm.define :puppetdev do |puppetdev|
puppetdev.vm.box = "debian-wheezy"
puppetdev.vm.box_url = "https://www.dropbox.com/s/23gupgb0xompvkm/Wheezy64.box?dl=1"
puppetdev.vm.host_name = "puppetdev.lan"
puppetdev.vm.network :hostonly, "192.168.1.10"
puppetdev.vm.provision :shell, :inline => "puppet module install garethr/riemann"
puppetdev.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "site.pp"
# site.pp contents :
## The server components
# include riemann
## The web dashboard etc.
# include riemann::dash
## Client side tools
# include riemann::tools
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment