Moved to Vertica looking for local packages. Temporarily skip mon-agent

This commit is contained in:
Tim Kuhlman 2014-05-12 11:34:55 -06:00
parent 75fe52151c
commit 76ad11af2a
5 changed files with 18 additions and 7 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ templates/output-virtualbox-iso
templates/packer_cache
.pydevproject
.idea
*.deb

View File

@ -12,6 +12,7 @@
- [Halt mini-mon](#halt-mini-mon)
- [Updating a VM](#updating-a-vm)
- [Improving Provisioning Speed](#improving-provisioning-speed)
- [Cookbook Development](#cookbook-development)
- [Running hLinux as the base OS](#running-hlinux-as-the-base-os)
- [Creating a new hLinux box](#creating-a-new-hlinux-box)
@ -26,6 +27,12 @@ Install's a mini monitoring environment based on vagrant. Intended for developme
```
git clone https://github.com/hpcloud-mon/mon-vagrant
```
Vertica must be downloaded from the [Vertica site](https://my.vertica.com/). Download these packages and place in the root of this repository.
- vertica_7.0.1-0_amd64.db
- vertica-R-lang_7.0.1_amd64.deb
The vertica::console recipe is not enabled by default but if it is added this package is also needed.
- vertica-console_7.0.1-0_amd64.deb
## Setup Vagrant
@ -42,7 +49,7 @@ brew cask install vagrant
### Setup Berkshelf
```
vagrant plugin install vagrant-berkshelf
gem install berkshelf or gem install --http-proxy <http://some-proxy.foo.com:8088> berkshelf
gem install berkshelf
```
# Using mini-mon
@ -62,7 +69,6 @@ gem install berkshelf or gem install --http-proxy <http://some-proxy.foo.com:80
- password is `vagrant`
## Start mini-mon
Berkshelf will download some cookbooks from the community so http_proxy and https_proxy environment variables must be set if applicable.
From within the `mini-mon` directory, to start all the vms run:
```
bin/vup
@ -99,7 +105,7 @@ A report from the cache is found at http://localhost:3142/acng-report.html
To develop cookbook changes with Vagrant:
- Edit Berksfile changing the appropriate cookbook line to a local path, ie `cookbook 'zookeeper', path: '/Users/kuhlmant/src/mon/cookbooks/zookeeper'`
- Edit your local cookbook as needed.
- run 'berks update <cookbook_name>' (make sure you have proxy envs set if needed)
- run 'berks update <cookbook_name>'
- If the vagrant vm is already up run 'vagrant provision' if not run 'Vagrant up'
- When finish testing commit and upload your cookbook as normal but don't forget to bump the cookbook version in the metadata.rb.

View File

@ -27,3 +27,9 @@ apt_repository 'dev' do
components ['release']
key 'https://region-a.geo-1.objects.hpcloudsvc.com/v1/46995959297574/mini-mon/public_repo/mon.gpg'
end
# The precise image does not have easy_install which is needed by some cookbooks
package 'python-setuptools' do
action :install
end

View File

@ -11,8 +11,7 @@
},
"chef_type": "role",
"run_list": [
"recipe[mini-mon]",
"recipe[mon_agent]"
"recipe[mini-mon]"
],
"env_run_lists": {
}

View File

@ -10,7 +10,6 @@
"run_list": [
"role[Basenode]",
"recipe[vertica]",
"recipe[vertica::console]",
"recipe[sysctl]"
],
"env_run_lists": {