forked from maestrodev/puppet-activemq
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
21 lines (17 loc) · 927 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "centos-65-x64-virtualbox-puppet"
config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-puppet.box"
config.vm.network :forwarded_port, guest: 8161, host: 19000
config.vm.network :forwarded_port, guest: 61613, host: 19001
config.vm.synced_folder ".", "/etc/puppet/modules/activemq"
config.vm.synced_folder "spec/fixtures/modules/wget", "/etc/puppet/modules/wget"
# install the java and epel modules
config.vm.provision :shell, :inline => "test -d /etc/puppet/modules/java || puppet module install puppetlabs/java -v 1.1.0"
config.vm.provision :shell, :inline => "test -d /etc/puppet/modules/epel || puppet module install stahnma/epel -v 0.0.6"
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "spec/manifests"
puppet.manifest_file = "site.pp"
end
end