Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 957 Bytes


Giving Chef a hand in the provisional kitchen, aussie style. Assumes Fog's API for connecting to and creating instances.


Provision and converge an instance:

connection = => 'AWS', :aws_access_key_id => 'KEY', :aws_secret_access_key => 'SECRET')

# Second arg is a hash passed to Fog::Compute::AWS::Servers.create
instance = Slushy::Instance.launch(connection, :flavor_id => 'm1.large', :more => :keys)

# Install ruby and Chef

# Converge using your Chef cookbooks
instance.converge Rails.root.join('provision')


  • Speed up slow Instance.launch tests caused by Fog's mocking
  • Add SystemTimer for a working 1.8.7 timeout
  • Support providers other than AWS
  • Support OSes other ubuntu
  • Don't hardcode path to chef, caused by ubuntu installing weirdness
  • Fix Instance#wait_for_connectivity occasionally hanging
Jump to Line
Something went wrong with that request. Please try again.