Skip to content

Commit b996aff

Browse files
James Martinyadvr
authored andcommitted
Merge in of cleanup work.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent b7181bb commit b996aff

47 files changed

Lines changed: 980 additions & 836 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎tools/devcloud/Gemfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source 'https://rubygems.org'
2+
gem 'vagrant', :git => 'https://github.com/chipchilders/vagrant'
Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
# to you under the Apache License, Version 2.0 (the
99
# "License"); you may not use this file except in compliance
1010
# with the License. You may obtain a copy of the License at
11-
#
11+
#
1212
# http://www.apache.org/licenses/LICENSE-2.0
13-
#
13+
#
1414
# Unless required by applicable law or agreed to in writing,
1515
# software distributed under the License is distributed on an
1616
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -19,33 +19,38 @@
1919
# under the License.
2020

2121
Vagrant::Config.run do |config|
22-
config.vm.box = "devcloud"
23-
# TODO: Get a URL to host the base image
24-
# config.vm.box_url = "http://domain.com/path/to/above.box"
22+
config.vm.box = "devcloud"
23+
#config.vm.box = "devcloudbase-xen"
24+
#config.vm.box_url = "http://basho-cloudstack.s3.amazonaws.com/devcloud.box"
25+
2526
config.vm.guest = :xen
2627
config.ssh.username = "devcloud"
27-
28-
# Uncomment this line to enable the console for debugging the
28+
config.vm.host_name = "devcloud.local"
29+
# Uncomment this line to enable the console for debugging the
2930
# build process.
3031
# config.vm.boot_mode = :gui
3132

3233
# Setup port forwarding
33-
config.vm.forward_port 22, 2222
34+
config.vm.forward_port 22, 7222
35+
config.vm.forward_port 3306, 3306
3436
config.vm.forward_port 8080, 8080
3537
config.vm.forward_port 8443, 8443
3638
config.vm.forward_port 5901, 5901
3739
config.vm.forward_port 8787, 8787
3840
config.vm.forward_port 8250, 8250
39-
41+
config.vm.forward_port 8096, 8096
42+
config.vm.forward_port 7080, 7080
4043
# Ensure the VM has the right virtual resources
4144
#config.vm.
42-
45+
config.vm.customize ["modifyvm", :id, "--memory", 2048]
46+
config.vm.provision :shell, :path => "waitforxe.sh"
4347
config.vm.provision :puppet do |puppet|
44-
puppet.manifests_path = "puppet-devcloud"
45-
puppet.manifest_file = "init.pp"
46-
puppet.with_ssh = true
47-
puppet.pp_path = "/etc/puppet"
48-
puppet.module_path = "puppet-devcloud"
48+
puppet.with_ssh = true
49+
puppet.manifests_path = File.join 'puppet', 'manifests'
50+
puppet.module_path = File.join 'puppet', 'modules', 'devcloud'
51+
puppet.manifest_file = 'vagrant-devcloud.pp'
52+
puppet.options = ['--pluginsync', '--trace', '--debug', '--verbose']
4953
end
5054

55+
5156
end

‎tools/devcloud/basebuild/Vagrantfile‎

Lines changed: 0 additions & 51 deletions
This file was deleted.

‎tools/devcloud/basebuild/puppet-devcloudinitial/init.pp‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎tools/devcloud/basebuild/puppet-devcloudinitial/manifests/init.pp‎

Lines changed: 0 additions & 106 deletions
This file was deleted.

‎tools/devcloud/boxit.sh‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#! /bin/bash -ex
2+
3+
vagrant halt
4+
vagrant package default --output devcloud.box
5+
vagrant box add devcloud devcloud.box -f

‎tools/devcloud/build_vagrant_basebox.sh‎

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)