diff --git a/.gitignore b/.gitignore index 2b8ed6e..16b15da 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ templates/output-virtualbox-iso templates/packer_cache .pydevproject .idea +*.deb diff --git a/README.md b/README.md index 576f316..60df43c 100644 --- a/README.md +++ b/README.md @@ -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,11 +27,17 @@ 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 ### Install Vagrant -Assumes you have home homebrew installed, if not download and install VirtualBox and Vagrant from their websites then continue with Setup Berkshelf. +Assumes you have home homebrew installed, if not download and install VirtualBox and Vagrant from their websites then continue with Setup Berkshelf. ``` brew tap phinze/cask @@ -42,7 +49,7 @@ brew cask install vagrant ### Setup Berkshelf ``` vagrant plugin install vagrant-berkshelf -gem install berkshelf or gem install --http-proxy berkshelf +gem install berkshelf ``` # Using mini-mon @@ -62,7 +69,6 @@ gem install berkshelf or gem install --http-proxy ' (make sure you have proxy envs set if needed) +- run 'berks update ' - 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. diff --git a/recipes/default.rb b/recipes/default.rb index ca442bb..195baf1 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -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 diff --git a/roles/Basenode.json b/roles/Basenode.json index 5e00c5b..59f6666 100644 --- a/roles/Basenode.json +++ b/roles/Basenode.json @@ -11,8 +11,7 @@ }, "chef_type": "role", "run_list": [ - "recipe[mini-mon]", - "recipe[mon_agent]" + "recipe[mini-mon]" ], "env_run_lists": { } diff --git a/roles/Vertica.json b/roles/Vertica.json index 031090f..cc40f88 100644 --- a/roles/Vertica.json +++ b/roles/Vertica.json @@ -10,7 +10,6 @@ "run_list": [ "role[Basenode]", "recipe[vertica]", - "recipe[vertica::console]", "recipe[sysctl]" ], "env_run_lists": {