knife-azure 1.5.1.rc.2 → 1.5.1.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -13
- data/lib/knife-azure/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26fc55c1fbaf2cc4bd80b423e890dd8f1a596db8
|
4
|
+
data.tar.gz: e544e7914382050afd27505a2a9b5b783632d74c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a46c128551f942d67344bdfd08ec04a8c9f658e5ca636de4753fd6b7cc7868782c3486cfa8ddc8c5a189cdf8a42e01a3696be9133c0d34623b9913050a83203d
|
7
|
+
data.tar.gz: 3827001e16fc6bda9bcd51578e1dfef1bbb520f38df6d33eb33f56583b29e23700102f3fcd68a8b37e98b586a26ab7961fd6de0ade6c4fa7222f656e0e6bb5b0
|
data/README.md
CHANGED
@@ -48,14 +48,17 @@ location in your knife.rb:
|
|
48
48
|
$ knife azure server list
|
49
49
|
|
50
50
|
# Create and bootstrap a Windows VM over winrm (winrm is the default for Windows)
|
51
|
-
$ knife azure server create --azure-dns-name MyNewServerName --azure-vm-size Medium -I a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-
|
51
|
+
$ knife azure server create --azure-dns-name MyNewServerName --azure-vm-size Medium -I a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-20150825-en.us-127GB.vhd --azure-service-location 'West US' --winrm-user myuser --winrm-password 'mypassword'
|
52
|
+
|
53
|
+
# Create and bootstrap a Windows VM over winrm using SSL (winrm is the default for Windows)
|
54
|
+
$ knife azure server create --azure-dns-name MyNewServerName --azure-vm-size Medium -I a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-20150825-en.us-127GB.vhd --azure-service-location 'West US' --winrm-user myuser --winrm-password 'mypassword' --winrm-transport ssl --winrm-ssl-verify-mode verify_none
|
52
55
|
|
53
56
|
# Create and bootstrap an Ubuntu VM over ssh
|
54
57
|
$ knife azure server create -N MyNewNode --azure-vm-size Medium -I b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20140927-en-us-30GB -m 'West US' --ssh-user myuser --identity-file ~/.ssh/myprivatekey_rsa
|
55
58
|
|
56
59
|
# Create and bootstrap an Windows VM through the Azure API --
|
57
60
|
# No winrm or ssh transport or Internet access required
|
58
|
-
$ knife azure server create --azure-dns-name MyNewServerName --azure-vm-size Medium -I a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-
|
61
|
+
$ knife azure server create --azure-dns-name MyNewServerName --azure-vm-size Medium -I a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-20150825-en.us-127GB.vhd --azure-service-location 'West US' --winrm-user myuser --winrm-password 'mypassword' --bootstrap-protocol cloud-api
|
59
62
|
|
60
63
|
# Delete a server and purge it from the Chef server
|
61
64
|
$ knife azure server delete MyNewNode --purge -y
|
@@ -89,7 +92,7 @@ This subcommand provisions a new server in Azure and then performs a Chef bootst
|
|
89
92
|
|
90
93
|
#### Windows Bootstrapping Requirements
|
91
94
|
knife-azure depends on knife-windows: https://github.com/chef/knife-windows
|
92
|
-
to bootstrap Windows machines via
|
95
|
+
to bootstrap Windows machines via WinRM (Basic, NTLM and Kerberos authentication) or ssh.
|
93
96
|
|
94
97
|
The distro/template to be used for bootstrapping is: https://github.com/chef/knife-windows/blob/master/lib/chef/knife/bootstrap/windows-chef-client-msi.erb
|
95
98
|
|
@@ -205,20 +208,23 @@ Note that the load balancing set will be created if it does not exist. If it exi
|
|
205
208
|
|
206
209
|
#### Options for Bootstrapping a Windows Node in Azure
|
207
210
|
|
208
|
-
:bootstrap_protocol
|
209
|
-
:winrm_password
|
210
|
-
:
|
211
|
-
:winrm_transport
|
212
|
-
:
|
213
|
-
:
|
214
|
-
:
|
215
|
-
:
|
211
|
+
:bootstrap_protocol Default is winrm for a windows image
|
212
|
+
:winrm_password The WinRM password
|
213
|
+
:winrm_authentication_protocol Defaults to negotiate, supports kerberos, can be set to basic for debugging
|
214
|
+
:winrm_transport Defaults to plaintext, use ssl for improved privacy
|
215
|
+
:winrm_port Defaults to 5985 plaintext transport, or 5986 for SSL
|
216
|
+
:ca_trust_file The CA certificate file to use to verify the server when using SSL
|
217
|
+
:winrm_ssl_verify_mode Defaults to verify_peer, use verify_none to skip validation of the server certificate during testing
|
218
|
+
:kerberos_keytab_file The Kerberos keytab file used for authentication
|
219
|
+
:kerberos_realm The Kerberos realm used for authentication
|
220
|
+
:kerberos_service The Kerberos service used for authentication
|
221
|
+
|
216
222
|
|
217
223
|
#### Options to configure WinRM for Bootstrapping a Windows Node
|
218
224
|
Theses options are useful if you have long-running run-lists and if the chef run might use a lot of memory. In most cases people don't need to set these, but if they see certain timeout or memory related errors during bootstrap, particularly on Win2k8r2, it may make sense to move these beyond the default.
|
219
225
|
|
220
|
-
:winrm_max_timeout
|
221
|
-
:winrm_max_memoryPerShell
|
226
|
+
:winrm_max_timeout Set winrm max timeout in minutes
|
227
|
+
:winrm_max_memoryPerShell Set winrm max memory per shell in MB
|
222
228
|
|
223
229
|
Command:
|
224
230
|
knife azure server create
|
data/lib/knife-azure/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.1.rc.
|
4
|
+
version: 1.5.1.rc.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Barry Davis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.0.0.rc.
|
34
|
+
version: 1.0.0.rc.2
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0.0.rc.
|
41
|
+
version: 1.0.0.rc.2
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: chef
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,7 +103,7 @@ dependencies:
|
|
103
103
|
version: 1.0.0
|
104
104
|
description: A plugin to the Chef knife tool for creating instances on the Microsoft
|
105
105
|
Azure platform
|
106
|
-
email: oss@
|
106
|
+
email: oss@chef.io
|
107
107
|
executables: []
|
108
108
|
extensions: []
|
109
109
|
extra_rdoc_files:
|
@@ -137,7 +137,7 @@ files:
|
|
137
137
|
- lib/chef/knife/azure_vnet_create.rb
|
138
138
|
- lib/chef/knife/azure_vnet_list.rb
|
139
139
|
- lib/knife-azure/version.rb
|
140
|
-
homepage:
|
140
|
+
homepage: https://github.com/chef/knife-azure
|
141
141
|
licenses:
|
142
142
|
- Apache 2.0
|
143
143
|
metadata: {}
|