0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Chef knife plugin for Blue Box
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.10.10
~> 1.10.0
~> 1.6.9
 Project Readme

knife bluebox

This is the official Opscode Knife plugin for Blue Box. This plugin gives knife the ability to create, bootstrap, and manage Blue Box servers.

Installation

This plugin is distributed as a Ruby Gem. To install it, run:

gem install knife-bluebox

Configuration

Set the following environmental variables in the right dotfile (typically .profile, .bash_profile, or .zshrc):

export BLUEBOX_API_KEY="YourAPIKey"              # should match /[a-f0-9]+/
export BLUEBOX_CUSTOMER_ID="YourCustomerNumber"  # should match /d+/

Then in your chef repository's .chef/knife.rb, set

knife[:bluebox_customer_id]  = ENV['BLUEBOX_CUSTOMER_ID']
knife[:bluebox_api_key]      = ENV['BLUEBOX_API_KEY']
knife[:identity_file]        = "#{ENV['HOME']}/.ssh/id_rsa"
knife[:public_identity_file] = "#{ENV['HOME']}/.ssh/id_rsa.pub"

You will need to run knife from within your chef repo to have the knife.rb config take effect.

Usage and subcommands

For a complete list of options for each command, use knife bluebox SUBCOMMAND ACTION --help.

knife bluebox flavor list

Show available block types and associated UUIDs.

knife bluebox image [create|delete|list] [options]

Manipulate and display stored block images.

  • knife bluebox create UUID creates a new machine image from the server specified by UUID.
    • --public will make the machine image public for other blocks users to deploy from.
    • --description provides a description for the image. Default is machine hostname and timestamp.

knife bluebox lb list

Show list of Blocks Load Balancer applications and each application's load balanced services.

knife bluebox server create [RUN LIST...] (options)

Create a new block instance.

knife bluebox server delete HOSTNAME

Delete block instance specified by HOSTNAME.

knife bluebox server list (options)

List all blocks currently running on the account.

knife bluebox location list (options)

List possible blocks locations