Skip to content

martinb3/chef-provisioning-rackspace-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages