knife-joyent 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,7 +4,7 @@ Knife Joyent
4
4
  This is a [Knife](http://wiki.opscode.com/display/chef/Knife) plugin for Joyent CloudAPI. This plugin gives knife
5
5
  the ability to create, bootstrap, and manage servers on the [Joyent Public Cloud](http://www.joyentcloud.com/) as well as Cloud providers powered by Joyent's [SmartDataCenter](http://www.joyent.com/products/smartdatacenter/) product offering.
6
6
 
7
- For more information on Joyent CloudAPI, see: [CloudAPI Documentation](api.joyentcloud.com/docs)
7
+ For more information on Joyent CloudAPI, see: [CloudAPI Documentation](http://api.joyentcloud.com/docs)
8
8
 
9
9
  ## Installation
10
10
 
@@ -31,13 +31,13 @@ Currently available commands:
31
31
  knife joyent server resize <server_id> -f <flavor>
32
32
  knife joyent server start <server_id>
33
33
  knife joyent server stop <server_id>
34
- knife joyent snapshot create <server> <snapshot_name>
35
- knife joyent snapshot delete <server> <snapshot_name>
34
+ knife joyent snapshot create <server_id> <snapshot_name>
35
+ knife joyent snapshot delete <server_id> <snapshot_name>
36
36
  knife joyent snapshot list <server_id>
37
37
  knife joyent tag create <server_id> <tag> <value>
38
38
  knife joyent tag delete <server_id> <tag>
39
39
  knife joyent tag delete <server_id> -A
40
- knife joyent tag list <server>
40
+ knife joyent tag list <server_id>
41
41
 
42
42
  ## Configuration
43
43
 
@@ -70,6 +70,12 @@ provider powered by [SmartDataCenter](http://www.joyent.com/products/smartdatace
70
70
  # Defaults to https://us-west-1.api.joyentcloud.com/
71
71
  knife[:joyent_api_url] = "https://us-sw-1.api.joyentcloud.com/"
72
72
 
73
+ ## Contributors
74
+
75
+ [Sean Omera](https://github.com/someara) - Opscode
76
+ [Eric Saxby](https://github.com/sax) - ModCloth
77
+ [Stephen Lauck](https://github.com/stephenlauck) - ModCloth
78
+
73
79
  ## License
74
80
 
75
81
  Copyright 2012 Joyent, Inc
@@ -99,8 +99,8 @@ module KnifeJoyent
99
99
  # Run Chef bootstrap script
100
100
  def bootstrap_for_node(server)
101
101
  bootstrap = Chef::Knife::Bootstrap.new
102
- Chef::Log.debug("Bootstrap name_args = [ #{server.ips.last} ]")
103
- bootstrap.name_args = [ server.ips.last ]
102
+ Chef::Log.debug("Bootstrap name_args = [ #{server.ips.first} ]")
103
+ bootstrap.name_args = [ server.ips.first ]
104
104
  Chef::Log.debug("Bootstrap run_list = #{config[:run_list]}")
105
105
  bootstrap.config[:run_list] = config[:run_list]
106
106
  Chef::Log.debug("Bootstrap ssh_user = #{config[:ssh_user]}")
@@ -149,9 +149,9 @@ module KnifeJoyent
149
149
  msg("Type", server.type)
150
150
  msg("Dataset", server.dataset)
151
151
  msg("IP's", server.ips)
152
- puts ui.color("attempting to bootstrap on #{server.ips.last}", :cyan)
152
+ puts ui.color("attempting to bootstrap on #{server.ips.first}", :cyan)
153
153
 
154
- print(".") until tcp_test_ssh(server.ips.last) {
154
+ print(".") until tcp_test_ssh(server.ips.first) {
155
155
  sleep 1
156
156
  puts("done")
157
157
  }
@@ -1,3 +1,3 @@
1
1
  module KnifeJoyent
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-joyent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-05 00:00:00.000000000 Z
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog