knife-joyent 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -107,9 +107,10 @@ by/from different sources / users.
107
107
  - [Eric Saxby](https://github.com/sax) - ModCloth
108
108
  - [Stephen Lauck](https://github.com/stephenlauck) - ModCloth
109
109
 
110
- ## Chef for smartos
110
+ ## Bootstrap template for smartos
111
111
 
112
- To bootstrap chef on SmartOS, use this [bootstrap template](https://gist.github.com/stephenlauck/3836791)
112
+ To bootstrap chef on SmartOS, use the script provided at the [Joyent Wiki] (http://wiki.joyent.com/wiki/display/jpc2/Joyent+ChefServer+SmartMachine#JoyentChefServerSmartMachine-BootstrappingaBareImagedSmartMachinetoyourChefServer)
113
+ which sets up chef-client with SMF and installs the basic essentials.
113
114
 
114
115
  ## License
115
116
 
@@ -179,15 +179,12 @@ class Chef
179
179
  msg_pair("IP's", server.ips.join(" "))
180
180
  msg_pair("JSON Attributes",config[:json_attributes]) unless config[:json_attributes].empty?
181
181
 
182
+ puts ui.color("Waiting for server to fully initialize...", :cyan)
183
+ sleep 20
184
+
182
185
  puts ui.color("Waiting for SSH to come up on: #{bootstrap_ip}", :cyan)
183
186
  tcp_test_ssh(bootstrap_ip)
184
187
 
185
- # smartos zoneinit needs to take it's time
186
- if server.type == 'smartmachine'
187
- puts ui.color("Waiting for smartos to fully initialize...", :cyan)
188
- sleep 25
189
- end
190
-
191
188
  bootstrap_for_node(server, bootstrap_ip).run
192
189
 
193
190
  rescue Excon::Errors::Conflict => e
@@ -1,3 +1,3 @@
1
1
  module KnifeJoyent
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.2.1
4
+ version: 0.2.2
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: 2013-05-17 00:00:00.000000000 Z
12
+ date: 2013-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog