Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

chef-provisioning-rackspace-example

Feel free to browse right to the create and destroy examples.

Configuring

You must configure some credentials and region in a knife.rb file like so:

driver 'fog:Rackspace'
driver_options :compute_options => {
  :rackspace_username => 'my_rackspace_user',
  :rackspace_api_key  => 'api_key_for_user',
  :rackspace_region => 'dfw' # could be 'org', 'iad', 'hkg', etc
}

NB: If you run into SSH key trouble, see this issue for some background of the chef-provisioning-fog driver and the fog library's different ways of bootstraping a server at Rackspace.

How to run

This example can be run using the following commands:

bundle exec chef-client -z recipes/create.rb
bundle exec chef-client -z recipes/destroy.rb

About

Examples of using Chef Provisioning on Rackspace with Fog driver

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.