Skip to content

Commit

Permalink
Add simple vagrant config for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld committed Dec 31, 2012
1 parent 95990ab commit ad010cb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.vagrant
33 changes: 33 additions & 0 deletions Vagrantfile
@@ -0,0 +1,33 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant::Config.run do |config|
config.vm.box = 'centos63_64min'
config.vm.box_url = 'https://dl.dropbox.com/u/7225008/Vagrant/CentOS-6.3-x86_64-minimal.box'

config.vm.define :broker do |broker|
broker.vm.network :hostonly, "192.168.133.10"

broker.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "broker.pp"
puppet.options = [
'--verbose',
'--debug',
]
end
end

config.vm.define :node do |node|
node.vm.network :hostonly, "192.168.133.20"

node.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "node.pp"
puppet.options = [
'--verbose',
'--debug',
]
end
end
end

1 comment on commit ad010cb

@anderssv
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, bad comment, found the issue.

Please sign in to comment.