knife-joyent 0.2.1 → 0.2.2
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.md +3 -2
- data/lib/chef/knife/joyent_server_create.rb +3 -6
- data/lib/knife-joyent/version.rb +1 -1
- metadata +2 -2
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
|
-
##
|
|
110
|
+
## Bootstrap template for smartos
|
|
111
111
|
|
|
112
|
-
To bootstrap chef on SmartOS, use
|
|
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
|
data/lib/knife-joyent/version.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fog
|