Skip to content

Instantly share code, notes, and snippets.

@mwhagedorn
Created February 22, 2012 21:50
Show Gist options
  • Save mwhagedorn/1887646 to your computer and use it in GitHub Desktop.
Save mwhagedorn/1887646 to your computer and use it in GitHub Desktop.
@connection2 ||= Fog::Compute.new(
:provider =>'HP',
:hp_account_id =>"#{@user.tenant_id}:#{access_key[:access_key_id]}",
:hp_secret_key => access_key[:secret_key],
:hp_auth_uri =>"http://az1-nv-schedule-0000.rndd.aw1.hpcloud.net:8774/v1.1/#{@user.tenant_id}",
:connection_options =>{
:connect_timeout =>30,
:read_timeout =>30,
:write_timeout =>30
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment