knife-brightbox 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -1,5 +1,7 @@
1
1
  = Knife Brightbox
2
2
 
3
+ This code is heavily based on the knife-rackspace plugin from Adam Jacob (<adam@opscode.com>) and Daniel DeLeo (<dan@opscode.com>). Fog already has a Brightbox provider, so porting the plugin was dead simple.
4
+
3
5
  = DESCRIPTION:
4
6
 
5
7
  This is the unofficial Opscode Knife plugin for Brightbox Cloud. This plugin gives knife the ability to create, bootstrap, and manage servers on the Brightbox Cloud.
@@ -144,7 +144,7 @@ class Chef
144
144
  :image_id => Chef::Config[:knife][:image],
145
145
  :flavor_id => Chef::Config[:knife][:flavor] || config[:flavor]
146
146
  )
147
- puts "\n"
147
+ puts " done \n"
148
148
 
149
149
  puts "#{ui.color("Instance ID", :cyan)}: #{server.id}"
150
150
  puts "#{ui.color("Name", :cyan)}: #{server.name}"
@@ -164,14 +164,15 @@ class Chef
164
164
  destination_id = server.interfaces.last['id']
165
165
  cip.map destination_id
166
166
  server.wait_for { print "."; connection.cloud_ips.get(ip['id']).mapped? }
167
+ puts " done\n"
167
168
 
168
169
  server = connection.servers.get(server.id)
169
170
  puts "#{ui.color("Public IP Address", :cyan)}: #{server.public_ip_address['public_ip'] rescue ''}"
170
171
  puts "#{ui.color("Private IP Address", :cyan)}: #{server.private_ip_address['ipv4_address']}"
171
172
 
172
- print "\n#{ui.color("Bootstraping server", :magenta)}"
173
- print "\n#{ui.color("Waiting for sshd", :magenta)}"
174
- print(".") until tcp_test_ssh(server.public_ip_address["public_ip"]) { sleep @initial_sleep_delay ||= 10; puts("done") }
173
+ print "\n#{ui.color("Bootstraping server ", :magenta)}"
174
+ print "\n#{ui.color("Waiting for sshd ", :magenta)}"
175
+ print(".") until tcp_test_ssh(server.public_ip_address["public_ip"]) { sleep @initial_sleep_delay ||= 10; puts(" done") }
175
176
  bootstrap_for_node(server).run
176
177
 
177
178
  puts "\n"
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Brightbox
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-brightbox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sergio Rubio
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-17 00:00:00 Z
18
+ date: 2011-08-19 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: fog