Skip to content

Commit

Permalink
Merge pull request #24 from cdwilhelm/curt-dev
Browse files Browse the repository at this point in the history
Use RL10 proxy instead of instance token
  • Loading branch information
rshade committed Feb 11, 2016
2 parents c83642b + e922d73 commit d40dc15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 4 additions & 6 deletions libraries/provider_rightscale_volume.rb
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,11 @@ def initialize_api_client(options = {})
# Require gems in initialize
require "right_api_client"

require "/var/spool/cloud/user-data.rb"
account_id, instance_token = ENV["RS_API_TOKEN"].split(":")
api_url = "https://#{ENV["RS_SERVER"]}"
#require "/var/spool/cloud/user-data.rb"
#account_id, instance_token = ENV["RS_API_TOKEN"].split(":")
#api_url = "https://#{ENV["RS_SERVER"]}"
options = {
:account_id => account_id,
:instance_token => instance_token,
:api_url => api_url,
:rl10 => true,
:timeout => 20 * 60,
}.merge options

Expand Down
3 changes: 1 addition & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
license 'Apache 2.0'
description 'Provides a resource to manage volumes on any cloud RightScale supports.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.2.10'
version '1.3.0'

depends 'build-essential'

recipe "rightscale_volume::default", "Default recipe for installing required packages/gems."

0 comments on commit d40dc15

Please sign in to comment.