Carlos Sanchez
1e18b71963
Only HTTPStatusError has request and response
...
Fixes NoMethodError:undefined method 'request' for #<Excon::Errors::SocketError:0x62540a41>
2013-08-29 12:43:14 -07:00
Kevin Chan
4583d1f263
GH-1853 "public" attribute for network
2013-06-02 17:50:49 +08:00
Kevin Chan
815b5dbbd8
Merge remote-tracking branch 'fog/master' into ssh-agent
...
Conflicts:
lib/fog/joyent/compute.rb
2013-06-02 17:34:59 +08:00
Blake Irvin and Eric Saxby
5fc41c8dc2
Add joyent API version and network support GH-1853
...
Adding support for listing networks in the Joyent Cloud.
:joyent_version was defined in a way that it would always
fall back to the default '~6.5'. Creating servers with
a particular network requires setting :joyent_version to '~7.0'
or greater.
2013-06-02 17:28:05 +08:00
Kevin Chan
f0dcb04b91
Fixes for tags for pre7 api, more ssh-agent improvements Refs: kevinykchan/knife-joyent#37
2013-05-20 16:34:10 -07:00
Kevin Chan
ffa3e89ebb
Support for request signing via ssh-agent
2013-05-19 06:28:16 -07:00
Kevin Chan
22a3cc36ab
Fixes #1822 Joyent list_machines is slower than it needs to be
...
[joyent|compute] list_machines unnecessarily fetches tags for each server
2013-05-19 03:38:07 -07:00
Pablo Baños López
386e63855d
Avoids Fog::Compute::Joyent::Real#decode_time_attrs raising an exception when an empty string is returned as created or updated property
2013-05-14 11:35:02 +02:00
Kevin Chan
55c720ba9f
Fixes #39 joyent server resize command requires expected response code
2013-05-06 10:05:38 -07:00
angus
428a8c9a4a
joyent resize smartmachine incorrect class type
2013-02-22 08:09:18 +10:00
Paul Thornthwaite
f6af5582b2
[joyent|compute] Updates reference to service
2013-01-07 21:01:14 +00:00
Wesley Beary
fa83cef6c7
Merge pull request #1239 from maestrodev/joyent_bootstrap
...
Joyent server creation should not wait for server to be ready
2012-10-31 09:26:58 -07:00
Carlos Sanchez
5c9c675146
Joyent server creation should not wait for server to be ready
...
Align with other providers for consistency
2012-10-31 17:20:57 +01:00
Carlos Sanchez
a25691ed23
Move ssh private_key, public_key, username to Server model to reduce duplication
2012-10-31 12:31:49 +01:00
James Herdman
97b16d08d2
Remove absolute path when requiring
2012-05-26 11:27:28 -04:00
Kevin Chan
9229ec04f8
[joyent|compute] Support for DSA keys for auth
...
Certain ruby/openssl versions have issues with DSA key signing, if that is the
case, suggests user to use an RSA key instead.
Fixes #886
2012-05-02 15:22:07 +08:00
Kevin Menard
dcefc2d7de
Fixed #875 : Loosen multi_json version.
2012-04-25 10:31:28 -04:00
Steve Smith
d89dd56fe7
Use MultiJSON #dump and #load rather than #encode and #decode
...
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones.
This requires an update to the gemspec to ensure ~>1.3
2012-04-20 13:09:14 +01:00
Kevin Chan
5ce6eaf5c6
Fixes invalid call to #resize, should be #resize_machine
2012-04-10 22:40:27 +08:00
Kevin Chan
baf0f445e9
[joyent|compute] Added #list_datacenters
2012-04-10 15:46:57 +08:00
Kevin Chan
4b8e7bb060
[joyent|compute] Fixes issue where params are not properly passed to #keys_create
...
from #create_key
2012-04-09 21:44:11 +08:00
Kevin Chan
987390c70a
Removed duplicate property :ips on server
2012-04-09 18:56:03 +08:00
Kevin Chan
d9c2cc0036
cleanups + refactorings + better error reporting per joyent cloudapi spec
2012-02-27 23:14:11 -08:00
Kevin Chan
4ff115c1de
- Fixes tests to run in both mock and non-mock mode
...
- Clean ups and fixes
2012-02-27 17:33:21 -06:00
Kevin Chan
501ad27c0f
Revert "[joyent|compute] make password required"
...
This reverts commit 6e93321e29
.
The reason for reverting this is Joyent's CloudAPI allows authenticating using
either a username/password credential pair OR using a username and SSH private key.
In http-signature authentication scheme, no password is used.
2012-02-27 17:33:20 -06:00
geemus
0d203bb511
[joyent|compute] make password required
2012-02-27 17:33:20 -06:00
Kevin Chan
8d901a0121
Credentials: cloudapi_* -> joyent_* for consistency
2012-02-27 17:33:20 -06:00
Kevin Chan
e403854446
GH-690 Joyent Cloud Provider
...
Squashed from fog/joyent
2012-02-27 17:33:20 -06:00