Skip to content

rightscale-cookbooks/virtualmonkey

Repository files navigation

virtualmonkey Cookbook

DESCRIPTION:

This cookbook provides recipes to setup a VirtualMonkey test environment for testing RightScale ServerTemplates.

REQUIREMENTS:

Requires a virtual machine launched from a RightScale managed RightImage.

COOKBOOK DEPENDENCIES:

Please see the metadata.rb for the latest dependencies.

KNOWN LIMITATIONS:

There are no known limitations.

SETUP/USAGE:

To setup the VirtualMonkey test environment, include the recipes in the following order.

  1. virtualmonkey::setup_git
  2. virtualmonkey::setup_ruby
  3. virtualmonkey::setup_rest_connection
  4. virtualmonkey::setup_virtualmonkey
  5. virtualmonkey::setup_test_config
  6. virtualmonkey::update_fog_credentials
  7. virtualmonkey::update_silver_creds
  8. virtualmonkey::update_dns_provider

DETAILS:

Attributes:

These are settings used in recipes and templates. Default values are noted.

Note: Only "internel" cookbook attributes are described here. Descriptions of attributes which have inputs can be found in the metadata.rb file.

General attributes

  • node[:virtualmonkey][:rest][:gem_packages] - List of Rubygems required by the rest_connection library along with the version information.
  • node[:virtualmonkey][:rest][packages] - List of packages required for the rest_connection library.
  • node[:virtualmonkey][:virtualmonkey][:packages] - List of packages required for the virtualmonkey library.

Recipes:

  1. virtualmonkey::setup_git - This recipe sets up the git credentials and configurations to checkout source code from git.
  2. virtualmonkey::setup_ruby - The VirtualMonkey doesn't support Ruby 1.9.x yet. So this recipe will remove Ruby 1.9.x and install Ruby 1.8.7.
  3. virtualmonkey::setup_rest_connection - This recipe will setup the rest_connection libraries which is used for communicating with RightScale API.
  4. virtualmonkey::setup_virtualmonkey - This recipe will setup the virtualmonkey test framework.
  5. virtualmonkey::setup_rocketmonkey - This recipe will setup rocketmonkey and also install the jenkins server.
  6. virtualmonkey::setup_test_config - This recipe will setup test specific gems/packages.
  7. virtualmonkey::update_fog_credentials - This recipe will create/update the fog credentials file with the inputs provided.

Templates:

  • rest_api_config.yaml.erb - Configuration for the rest_connection library.
  • sshconfig.erb - Configuration for SSH connections.
  • gitconfig.erb - Configuration for using Git.
  • fog.erb - Cloud credentials to be used with the Fog library.
  • rocketmonkey_config.yaml.erb - The RocketMonkey configuration file.

LICENSE:

Copyright RightScale, Inc. All rights reserved. All access and use subject to the RightScale Terms of Service available at http://www.rightscale.com/terms.php and, if applicable, other agreements such as a RightScale Master Subscription Agreement.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages