vagrant-azure 1.0.5 → 1.1.0
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.
- checksums.yaml +4 -4
- data/.gitignore +19 -15
- data/CHANGELOG.md +24 -24
- data/Gemfile +20 -15
- data/LICENSE +4 -4
- data/README.md +189 -125
- data/Rakefile +15 -14
- data/lib/vagrant-azure.rb +31 -33
- data/lib/vagrant-azure/action.rb +267 -243
- data/lib/vagrant-azure/action/connect_azure.rb +49 -46
- data/lib/vagrant-azure/action/os_type.rb +34 -0
- data/lib/vagrant-azure/action/powershell_run.rb +28 -0
- data/lib/vagrant-azure/action/provision.rb +42 -49
- data/lib/vagrant-azure/action/rdp.rb +63 -62
- data/lib/vagrant-azure/action/read_ssh_info.rb +54 -51
- data/lib/vagrant-azure/action/read_state.rb +47 -46
- data/lib/vagrant-azure/action/read_winrm_info.rb +57 -0
- data/lib/vagrant-azure/action/restart_vm.rb +28 -27
- data/lib/vagrant-azure/action/run_instance.rb +123 -115
- data/lib/vagrant-azure/action/start_instance.rb +35 -35
- data/lib/vagrant-azure/action/stop_instance.rb +42 -38
- data/lib/vagrant-azure/action/sync_folders.rb +64 -63
- data/lib/vagrant-azure/action/terminate_instance.rb +34 -34
- data/lib/vagrant-azure/action/vagrant_azure_service.rb +44 -43
- data/lib/vagrant-azure/action/wait_for_communicate.rb +39 -38
- data/lib/vagrant-azure/action/wait_for_state.rb +50 -49
- data/lib/vagrant-azure/capabilities/winrm.rb +12 -0
- data/lib/vagrant-azure/command/powershell.rb +43 -0
- data/lib/vagrant-azure/command/rdp.rb +24 -0
- data/lib/vagrant-azure/config.rb +158 -147
- data/lib/vagrant-azure/driver.rb +48 -84
- data/lib/vagrant-azure/errors.rb +28 -27
- data/lib/vagrant-azure/monkey_patch/azure.rb +46 -0
- data/lib/vagrant-azure/monkey_patch/winrm.rb +77 -0
- data/lib/vagrant-azure/plugin.rb +102 -91
- data/lib/vagrant-azure/provider.rb +74 -70
- data/lib/vagrant-azure/provisioner/chef-solo.rb +178 -177
- data/lib/vagrant-azure/provisioner/puppet.rb +116 -115
- data/lib/vagrant-azure/version.rb +11 -10
- data/locales/en.yml +37 -37
- data/templates/provisioners/chef-solo/solo.erb +51 -51
- data/vagrant-azure.gemspec +59 -58
- metadata +48 -38
- data/lib/vagrant-azure/command/rdp/command.rb +0 -21
- data/lib/vagrant-azure/communication/powershell.rb +0 -41
- data/lib/vagrant-azure/monkey_patch/machine.rb +0 -22
- data/lib/vagrant-azure/provisioner/shell.rb +0 -83
- data/lib/vagrant-azure/scripts/check_winrm.ps1 +0 -47
- data/lib/vagrant-azure/scripts/export_vm.ps1 +0 -31
- data/lib/vagrant-azure/scripts/file_sync.ps1 +0 -145
- data/lib/vagrant-azure/scripts/host_info.ps1 +0 -25
- data/lib/vagrant-azure/scripts/hyperv_manager.ps1 +0 -36
- data/lib/vagrant-azure/scripts/run_in_remote.ps1 +0 -32
- data/lib/vagrant-azure/scripts/upload_file.ps1 +0 -95
- data/lib/vagrant-azure/scripts/utils/create_session.ps1 +0 -34
- data/lib/vagrant-azure/scripts/utils/write_messages.ps1 +0 -18
@@ -1,10 +1,11 @@
|
|
1
|
-
#--------------------------------------------------------------------------
|
2
|
-
# Copyright (c) Microsoft Open Technologies, Inc.
|
3
|
-
# All Rights Reserved.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
end
|
1
|
+
#--------------------------------------------------------------------------
|
2
|
+
# Copyright (c) Microsoft Open Technologies, Inc.
|
3
|
+
# All Rights Reserved. Licensed under the Apache License, Version 2.0.
|
4
|
+
# See License.txt in the project root for license information.
|
5
|
+
#--------------------------------------------------------------------------
|
6
|
+
|
7
|
+
module VagrantPlugins
|
8
|
+
module WinAzure
|
9
|
+
VERSION = '1.1.0'
|
10
|
+
end
|
11
|
+
end
|
data/locales/en.yml
CHANGED
@@ -1,37 +1,37 @@
|
|
1
|
-
en:
|
2
|
-
vagrant_azure:
|
3
|
-
not_created: |-
|
4
|
-
The machine does not exist. Please run `vagrant up` first.
|
5
|
-
will_not_destroy: |-
|
6
|
-
The machine '%{name}' will not be destroyed as the user declined confirmation.
|
7
|
-
already_status: |-
|
8
|
-
The machine is already %{status}.
|
9
|
-
stopping: |-
|
10
|
-
Stopping '%{vm_name}' in '%{cloud_service_name}'
|
11
|
-
rdp_not_ready: |-
|
12
|
-
RDP not ready
|
13
|
-
vm_started: |-
|
14
|
-
VM '%{name}' has been started
|
15
|
-
vm_stopped: |-
|
16
|
-
VM '%{name}' has been stopped
|
17
|
-
copy_folder: |-
|
18
|
-
Copying folder: %{hostpath} ==>
|
19
|
-
%{guestpath}
|
20
|
-
rsync_not_found_warning: |-
|
21
|
-
Warning! Folder sync disabled because the rsync binary is missing in the %{side}.
|
22
|
-
Make sure rsync is installed and the binary can be found in the PATH.
|
23
|
-
|
24
|
-
Waiting for
|
25
|
-
|
26
|
-
|
27
|
-
read_attempt: |-
|
28
|
-
Failed to connect to Virtual Machine. Re-Connecting %{attempt}
|
29
|
-
errors:
|
30
|
-
win_rm_not_ready: |-
|
31
|
-
Vagrant failed to communicate to the VM using powershell. The operation failed
|
32
|
-
with the following message.
|
33
|
-
%{message}
|
34
|
-
server_not_created: |-
|
35
|
-
Server not created. Error is: %{message}
|
36
|
-
create_vm_failure: |-
|
37
|
-
There was some error in creating the VM.
|
1
|
+
en:
|
2
|
+
vagrant_azure:
|
3
|
+
not_created: |-
|
4
|
+
The machine does not exist. Please run `vagrant up` first.
|
5
|
+
will_not_destroy: |-
|
6
|
+
The machine '%{name}' will not be destroyed as the user declined confirmation.
|
7
|
+
already_status: |-
|
8
|
+
The machine is already %{status}.
|
9
|
+
stopping: |-
|
10
|
+
Stopping '%{vm_name}' in '%{cloud_service_name}'
|
11
|
+
rdp_not_ready: |-
|
12
|
+
RDP not ready
|
13
|
+
vm_started: |-
|
14
|
+
VM '%{name}' has been started
|
15
|
+
vm_stopped: |-
|
16
|
+
VM '%{name}' has been stopped
|
17
|
+
copy_folder: |-
|
18
|
+
Copying folder: %{hostpath} ==>
|
19
|
+
%{guestpath}
|
20
|
+
rsync_not_found_warning: |-
|
21
|
+
Warning! Folder sync disabled because the rsync binary is missing in the %{side}.
|
22
|
+
Make sure rsync is installed and the binary can be found in the PATH.
|
23
|
+
waiting_for_comm: |-
|
24
|
+
Waiting for Communication
|
25
|
+
comm_ready: |-
|
26
|
+
Communication is Ready
|
27
|
+
read_attempt: |-
|
28
|
+
Failed to connect to Virtual Machine. Re-Connecting %{attempt}
|
29
|
+
errors:
|
30
|
+
win_rm_not_ready: |-
|
31
|
+
Vagrant failed to communicate to the VM using powershell. The operation failed
|
32
|
+
with the following message.
|
33
|
+
%{message}
|
34
|
+
server_not_created: |-
|
35
|
+
Server not created. Error is: %{message}
|
36
|
+
create_vm_failure: |-
|
37
|
+
There was some error in creating the VM.
|
@@ -1,51 +1,51 @@
|
|
1
|
-
require 'chef/version_constraint'
|
2
|
-
|
3
|
-
<% if node_name %>
|
4
|
-
node_name "<%= node_name %>"
|
5
|
-
<% end %>
|
6
|
-
file_cache_path "<%= file_cache_path %>"
|
7
|
-
file_backup_path "<%= file_backup_path %>"
|
8
|
-
cookbook_path <%= cookbooks_path.inspect %>
|
9
|
-
<% if roles_path %>
|
10
|
-
if Chef::VersionConstraint.new("< 11.8.0").include?(Chef::VERSION)
|
11
|
-
role_path <%= roles_path.first.inspect %>
|
12
|
-
else
|
13
|
-
role_path <%= roles_path.inspect %>
|
14
|
-
end
|
15
|
-
<% end %>
|
16
|
-
log_level <%= log_level.inspect %>
|
17
|
-
verbose_logging <%= verbose_logging.inspect %>
|
18
|
-
|
19
|
-
encrypted_data_bag_secret <%= encrypted_data_bag_secret.inspect %>
|
20
|
-
|
21
|
-
<% if data_bags_path -%>
|
22
|
-
data_bag_path <%= data_bags_path.inspect %>
|
23
|
-
<% end %>
|
24
|
-
|
25
|
-
<% if recipe_url -%>
|
26
|
-
recipe_url "<%= recipe_url %>"
|
27
|
-
<% end -%>
|
28
|
-
|
29
|
-
<% if environments_path %>
|
30
|
-
environment_path <%= environments_path.inspect %>
|
31
|
-
<% end -%>
|
32
|
-
|
33
|
-
<% if environment %>
|
34
|
-
environment "<%= environment %>"
|
35
|
-
<% end -%>
|
36
|
-
|
37
|
-
http_proxy <%= http_proxy.inspect %>
|
38
|
-
http_proxy_user <%= http_proxy_user.inspect %>
|
39
|
-
http_proxy_pass <%= http_proxy_pass.inspect %>
|
40
|
-
https_proxy <%= https_proxy.inspect %>
|
41
|
-
https_proxy_user <%= https_proxy_user.inspect %>
|
42
|
-
https_proxy_pass <%= https_proxy_pass.inspect %>
|
43
|
-
no_proxy <%= no_proxy.inspect %>
|
44
|
-
|
45
|
-
<% if formatter %>
|
46
|
-
add_formatter "<%= formatter %>"
|
47
|
-
<% end %>
|
48
|
-
|
49
|
-
<% if custom_configuration -%>
|
50
|
-
Chef::Config.from_file "<%= custom_configuration %>"
|
51
|
-
<% end -%>
|
1
|
+
require 'chef/version_constraint'
|
2
|
+
|
3
|
+
<% if node_name %>
|
4
|
+
node_name "<%= node_name %>"
|
5
|
+
<% end %>
|
6
|
+
file_cache_path "<%= file_cache_path %>"
|
7
|
+
file_backup_path "<%= file_backup_path %>"
|
8
|
+
cookbook_path <%= cookbooks_path.inspect %>
|
9
|
+
<% if roles_path %>
|
10
|
+
if Chef::VersionConstraint.new("< 11.8.0").include?(Chef::VERSION)
|
11
|
+
role_path <%= roles_path.first.inspect %>
|
12
|
+
else
|
13
|
+
role_path <%= roles_path.inspect %>
|
14
|
+
end
|
15
|
+
<% end %>
|
16
|
+
log_level <%= log_level.inspect %>
|
17
|
+
verbose_logging <%= verbose_logging.inspect %>
|
18
|
+
|
19
|
+
encrypted_data_bag_secret <%= encrypted_data_bag_secret.inspect %>
|
20
|
+
|
21
|
+
<% if data_bags_path -%>
|
22
|
+
data_bag_path <%= data_bags_path.inspect %>
|
23
|
+
<% end %>
|
24
|
+
|
25
|
+
<% if recipe_url -%>
|
26
|
+
recipe_url "<%= recipe_url %>"
|
27
|
+
<% end -%>
|
28
|
+
|
29
|
+
<% if environments_path %>
|
30
|
+
environment_path <%= environments_path.inspect %>
|
31
|
+
<% end -%>
|
32
|
+
|
33
|
+
<% if environment %>
|
34
|
+
environment "<%= environment %>"
|
35
|
+
<% end -%>
|
36
|
+
|
37
|
+
http_proxy <%= http_proxy.inspect %>
|
38
|
+
http_proxy_user <%= http_proxy_user.inspect %>
|
39
|
+
http_proxy_pass <%= http_proxy_pass.inspect %>
|
40
|
+
https_proxy <%= https_proxy.inspect %>
|
41
|
+
https_proxy_user <%= https_proxy_user.inspect %>
|
42
|
+
https_proxy_pass <%= https_proxy_pass.inspect %>
|
43
|
+
no_proxy <%= no_proxy.inspect %>
|
44
|
+
|
45
|
+
<% if formatter %>
|
46
|
+
add_formatter "<%= formatter %>"
|
47
|
+
<% end %>
|
48
|
+
|
49
|
+
<% if custom_configuration -%>
|
50
|
+
Chef::Config.from_file "<%= custom_configuration %>"
|
51
|
+
<% end -%>
|
data/vagrant-azure.gemspec
CHANGED
@@ -1,58 +1,59 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'vagrant-azure/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = "vagrant-azure"
|
8
|
-
s.version = VagrantPlugins::WinAzure::VERSION
|
9
|
-
s.authors = ["MSOpenTech"]
|
10
|
-
s.description = "Enable Vagrant to manage machines in Azure"
|
11
|
-
s.summary = "Enable Vagrant to manage machines in Azure"
|
12
|
-
s.homepage = "https://github.com/MSOpenTech/vagrant-azure"
|
13
|
-
s.license = "Apache 2.0"
|
14
|
-
|
15
|
-
s.require_paths = ["lib"]
|
16
|
-
|
17
|
-
# The following block of code determines the files that should be included
|
18
|
-
# in the gem. It does this by reading all the files in the directory where
|
19
|
-
# this gemspec is, and parsing out the ignored files from the gitignore.
|
20
|
-
# Note that the entire gitignore(5) syntax is not supported, specifically
|
21
|
-
# the "!" syntax, but it should mostly work correctly.
|
22
|
-
root_path = File.dirname(__FILE__)
|
23
|
-
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
24
|
-
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
25
|
-
gitignore_path = File.join(root_path, ".gitignore")
|
26
|
-
gitignore = File.readlines(gitignore_path)
|
27
|
-
gitignore.map! { |line| line.chomp.strip }
|
28
|
-
gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
|
29
|
-
|
30
|
-
unignored_files = all_files.reject do |file|
|
31
|
-
# Ignore any directories, the gemspec only cares about files
|
32
|
-
next true if File.directory?(file)
|
33
|
-
|
34
|
-
# Ignore any paths that match anything in the gitignore. We do
|
35
|
-
# two tests here:
|
36
|
-
#
|
37
|
-
# - First, test to see if the entire path matches the gitignore.
|
38
|
-
# - Second, match if the basename does, this makes it so that things
|
39
|
-
# like '.DS_Store' will match sub-directories too (same behavior
|
40
|
-
# as git).
|
41
|
-
#
|
42
|
-
gitignore.any? do |ignore|
|
43
|
-
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
|
44
|
-
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
s.files = unignored_files
|
49
|
-
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
50
|
-
|
51
|
-
s.add_runtime_dependency "azure", "0.6.
|
52
|
-
|
53
|
-
|
54
|
-
s.add_development_dependency "
|
55
|
-
s.add_development_dependency "
|
56
|
-
s.add_development_dependency "minitest
|
57
|
-
s.add_development_dependency "
|
58
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'vagrant-azure/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "vagrant-azure"
|
8
|
+
s.version = VagrantPlugins::WinAzure::VERSION
|
9
|
+
s.authors = ["MSOpenTech"]
|
10
|
+
s.description = "Enable Vagrant to manage machines in Azure"
|
11
|
+
s.summary = "Enable Vagrant to manage machines in Azure"
|
12
|
+
s.homepage = "https://github.com/MSOpenTech/vagrant-azure"
|
13
|
+
s.license = "Apache 2.0"
|
14
|
+
|
15
|
+
s.require_paths = ["lib"]
|
16
|
+
|
17
|
+
# The following block of code determines the files that should be included
|
18
|
+
# in the gem. It does this by reading all the files in the directory where
|
19
|
+
# this gemspec is, and parsing out the ignored files from the gitignore.
|
20
|
+
# Note that the entire gitignore(5) syntax is not supported, specifically
|
21
|
+
# the "!" syntax, but it should mostly work correctly.
|
22
|
+
root_path = File.dirname(__FILE__)
|
23
|
+
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
24
|
+
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
25
|
+
gitignore_path = File.join(root_path, ".gitignore")
|
26
|
+
gitignore = File.readlines(gitignore_path)
|
27
|
+
gitignore.map! { |line| line.chomp.strip }
|
28
|
+
gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
|
29
|
+
|
30
|
+
unignored_files = all_files.reject do |file|
|
31
|
+
# Ignore any directories, the gemspec only cares about files
|
32
|
+
next true if File.directory?(file)
|
33
|
+
|
34
|
+
# Ignore any paths that match anything in the gitignore. We do
|
35
|
+
# two tests here:
|
36
|
+
#
|
37
|
+
# - First, test to see if the entire path matches the gitignore.
|
38
|
+
# - Second, match if the basename does, this makes it so that things
|
39
|
+
# like '.DS_Store' will match sub-directories too (same behavior
|
40
|
+
# as git).
|
41
|
+
#
|
42
|
+
gitignore.any? do |ignore|
|
43
|
+
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
|
44
|
+
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
s.files = unignored_files
|
49
|
+
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
50
|
+
|
51
|
+
s.add_runtime_dependency "azure", "0.6.4"
|
52
|
+
s.add_runtime_dependency "httpclient", "2.4.0"
|
53
|
+
|
54
|
+
s.add_development_dependency "bundler", "~> 1.3"
|
55
|
+
s.add_development_dependency "rake"
|
56
|
+
s.add_development_dependency "minitest"
|
57
|
+
s.add_development_dependency "minitest-reporters"
|
58
|
+
s.add_development_dependency "mocha"
|
59
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MSOpenTech
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: azure
|
@@ -16,82 +16,96 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.6.
|
19
|
+
version: 0.6.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.6.
|
26
|
+
version: 0.6.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httpclient
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.4.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.4.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - ~>
|
45
|
+
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '1.3'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - ~>
|
52
|
+
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '1.3'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: minitest
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: minitest-reporters
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - ">="
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: '0'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - ">="
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: mocha
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
description: Enable Vagrant to manage machines in Azure
|
@@ -100,16 +114,25 @@ executables: []
|
|
100
114
|
extensions: []
|
101
115
|
extra_rdoc_files: []
|
102
116
|
files:
|
117
|
+
- ".gitignore"
|
103
118
|
- CHANGELOG.md
|
119
|
+
- Gemfile
|
120
|
+
- LICENSE
|
121
|
+
- README.md
|
122
|
+
- Rakefile
|
104
123
|
- dummy.box
|
105
|
-
- example_box/metadata.json
|
106
124
|
- example_box/README.md
|
107
|
-
-
|
125
|
+
- example_box/metadata.json
|
126
|
+
- lib/vagrant-azure.rb
|
127
|
+
- lib/vagrant-azure/action.rb
|
108
128
|
- lib/vagrant-azure/action/connect_azure.rb
|
129
|
+
- lib/vagrant-azure/action/os_type.rb
|
130
|
+
- lib/vagrant-azure/action/powershell_run.rb
|
109
131
|
- lib/vagrant-azure/action/provision.rb
|
110
132
|
- lib/vagrant-azure/action/rdp.rb
|
111
133
|
- lib/vagrant-azure/action/read_ssh_info.rb
|
112
134
|
- lib/vagrant-azure/action/read_state.rb
|
135
|
+
- lib/vagrant-azure/action/read_winrm_info.rb
|
113
136
|
- lib/vagrant-azure/action/restart_vm.rb
|
114
137
|
- lib/vagrant-azure/action/run_instance.rb
|
115
138
|
- lib/vagrant-azure/action/start_instance.rb
|
@@ -119,36 +142,22 @@ files:
|
|
119
142
|
- lib/vagrant-azure/action/vagrant_azure_service.rb
|
120
143
|
- lib/vagrant-azure/action/wait_for_communicate.rb
|
121
144
|
- lib/vagrant-azure/action/wait_for_state.rb
|
122
|
-
- lib/vagrant-azure/
|
123
|
-
- lib/vagrant-azure/command/
|
124
|
-
- lib/vagrant-azure/
|
145
|
+
- lib/vagrant-azure/capabilities/winrm.rb
|
146
|
+
- lib/vagrant-azure/command/powershell.rb
|
147
|
+
- lib/vagrant-azure/command/rdp.rb
|
125
148
|
- lib/vagrant-azure/config.rb
|
126
149
|
- lib/vagrant-azure/driver.rb
|
127
150
|
- lib/vagrant-azure/errors.rb
|
128
|
-
- lib/vagrant-azure/monkey_patch/
|
151
|
+
- lib/vagrant-azure/monkey_patch/azure.rb
|
152
|
+
- lib/vagrant-azure/monkey_patch/winrm.rb
|
129
153
|
- lib/vagrant-azure/plugin.rb
|
130
154
|
- lib/vagrant-azure/provider.rb
|
131
155
|
- lib/vagrant-azure/provisioner/chef-solo.rb
|
132
156
|
- lib/vagrant-azure/provisioner/puppet.rb
|
133
|
-
- lib/vagrant-azure/provisioner/shell.rb
|
134
|
-
- lib/vagrant-azure/scripts/check_winrm.ps1
|
135
|
-
- lib/vagrant-azure/scripts/export_vm.ps1
|
136
|
-
- lib/vagrant-azure/scripts/file_sync.ps1
|
137
|
-
- lib/vagrant-azure/scripts/host_info.ps1
|
138
|
-
- lib/vagrant-azure/scripts/hyperv_manager.ps1
|
139
|
-
- lib/vagrant-azure/scripts/run_in_remote.ps1
|
140
|
-
- lib/vagrant-azure/scripts/upload_file.ps1
|
141
|
-
- lib/vagrant-azure/scripts/utils/create_session.ps1
|
142
|
-
- lib/vagrant-azure/scripts/utils/write_messages.ps1
|
143
157
|
- lib/vagrant-azure/version.rb
|
144
|
-
- lib/vagrant-azure.rb
|
145
|
-
- LICENSE
|
146
158
|
- locales/en.yml
|
147
|
-
- Rakefile
|
148
|
-
- README.md
|
149
159
|
- templates/provisioners/chef-solo/solo.erb
|
150
160
|
- vagrant-azure.gemspec
|
151
|
-
- .gitignore
|
152
161
|
homepage: https://github.com/MSOpenTech/vagrant-azure
|
153
162
|
licenses:
|
154
163
|
- Apache 2.0
|
@@ -159,18 +168,19 @@ require_paths:
|
|
159
168
|
- lib
|
160
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
170
|
requirements:
|
162
|
-
- -
|
171
|
+
- - ">="
|
163
172
|
- !ruby/object:Gem::Version
|
164
173
|
version: '0'
|
165
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
175
|
requirements:
|
167
|
-
- -
|
176
|
+
- - ">="
|
168
177
|
- !ruby/object:Gem::Version
|
169
178
|
version: '0'
|
170
179
|
requirements: []
|
171
180
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.
|
181
|
+
rubygems_version: 2.2.2
|
173
182
|
signing_key:
|
174
183
|
specification_version: 4
|
175
184
|
summary: Enable Vagrant to manage machines in Azure
|
176
185
|
test_files: []
|
186
|
+
has_rdoc:
|