vagrant-windows 1.0.3 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.travis.yml +5 -0
  4. data/Gemfile +1 -1
  5. data/README.md +77 -20
  6. data/Rakefile +14 -4
  7. data/lib/vagrant-windows/communication/guestnetwork.rb +133 -0
  8. data/lib/vagrant-windows/communication/winrmcommunicator.rb +56 -151
  9. data/lib/vagrant-windows/communication/winrmfinder.rb +45 -0
  10. data/lib/vagrant-windows/communication/winrmshell.rb +141 -0
  11. data/lib/vagrant-windows/config/windows.rb +4 -0
  12. data/lib/vagrant-windows/config/winrm.rb +1 -1
  13. data/lib/vagrant-windows/guest/cap/change_host_name.rb +14 -0
  14. data/lib/vagrant-windows/guest/cap/configure_networks.rb +69 -0
  15. data/lib/vagrant-windows/guest/cap/halt.rb +22 -0
  16. data/lib/vagrant-windows/guest/cap/mount_virtualbox_shared_folder.rb +17 -0
  17. data/lib/vagrant-windows/guest/cap/mount_vmware_shared_folder.rb +15 -0
  18. data/lib/vagrant-windows/guest/windows.rb +46 -77
  19. data/lib/vagrant-windows/helper.rb +6 -0
  20. data/lib/vagrant-windows/monkey_patches/{machine.rb → lib/vagrant/machine.rb} +7 -0
  21. data/lib/vagrant-windows/monkey_patches/plugins/providers/virtualbox/action/share_folders.rb +44 -0
  22. data/lib/vagrant-windows/monkey_patches/{vbox_42_driver.rb → plugins/providers/virtualbox/driver/version_4_2.rb} +0 -0
  23. data/lib/vagrant-windows/monkey_patches/plugins/provisioners/chef/provisioner/chef_client.rb +1 -0
  24. data/lib/vagrant-windows/monkey_patches/plugins/provisioners/chef/provisioner/chef_solo.rb +106 -0
  25. data/lib/vagrant-windows/monkey_patches/{puppet.rb → plugins/provisioners/puppet/provisioner/puppet.rb} +5 -4
  26. data/lib/vagrant-windows/monkey_patches/plugins/provisioners/puppet/provisioner/puppet_server.rb +1 -0
  27. data/lib/vagrant-windows/monkey_patches/{provisioner.rb → plugins/provisioners/shell/provisioner.rb} +4 -4
  28. data/lib/vagrant-windows/plugin.rb +54 -27
  29. data/lib/vagrant-windows/scripts/cheftask.ps1.erb +47 -0
  30. data/lib/vagrant-windows/scripts/cheftask.xml.erb +45 -0
  31. data/lib/vagrant-windows/scripts/cheftaskrun.ps1.erb +16 -0
  32. data/lib/vagrant-windows/scripts/command_alias.ps1 +4 -0
  33. data/lib/vagrant-windows/scripts/{mount_volume.ps1.erb → mount_volume.virtualbox.ps1.erb} +1 -1
  34. data/lib/vagrant-windows/scripts/mount_volume.vmware.ps1.erb +49 -0
  35. data/lib/vagrant-windows/scripts/set_work_network.ps1 +6 -0
  36. data/lib/vagrant-windows/scripts/winrs_v3_get_adapters.ps1 +11 -0
  37. data/lib/vagrant-windows/version.rb +1 -1
  38. data/spec/spec_helper.rb +14 -0
  39. data/spec/vagrant-windows/config_spec.rb +3 -4
  40. data/spec/vagrant-windows/guestnetwork_spec.rb +47 -0
  41. data/spec/vagrant-windows/helper_spec.rb +14 -3
  42. data/spec/vagrant-windows/winrmcommunicator_spec.rb +26 -0
  43. data/vagrant-windows.gemspec +33 -2
  44. metadata +100 -55
  45. data/lib/vagrant-windows/monkey_patches/chef_solo.rb +0 -61
  46. data/lib/vagrant-windows/scripts/ps_runas.ps1.erb +0 -56
@@ -0,0 +1,16 @@
1
+ $exitCode = -1
2
+ Set-ExecutionPolicy Unrestricted -force;
3
+
4
+ Try
5
+ {
6
+ "running" | Out-File "<%= options[:chef_task_running] %>"
7
+ $process = (Start-Process "<%= options[:chef_binary_path] %>" -ArgumentList "<%= options[:chef_arguments] %>" -NoNewWindow -PassThru -Wait -RedirectStandardOutput "<%= options[:chef_stdout_log] %>" -RedirectStandardError "<%= options[:chef_stderr_log] %>")
8
+ $exitCode = $process.ExitCode
9
+ }
10
+ Finally
11
+ {
12
+ $exitCode | Out-File "<%= options[:chef_task_exitcode] %>"
13
+ del "<%= options[:chef_task_running] %>"
14
+ }
15
+
16
+ exit $exitCode
@@ -16,6 +16,10 @@ function test ([Switch] $d, [String] $path) {
16
16
  exit 1
17
17
  }
18
18
 
19
+ function chmod {
20
+ exit 0
21
+ }
22
+
19
23
  function chown {
20
24
  exit 0
21
25
  }
@@ -6,7 +6,7 @@ function Test-ReparsePoint([string]$path) {
6
6
 
7
7
 
8
8
  $MountPoint = [System.IO.Path]::GetFullPath("<%= options[:mount_point] %>")
9
- $ShareName = "<%= options[:name] %>"
9
+ $ShareName = "<%= options[:share_name] %>"
10
10
 
11
11
  # https://github.com/BIAINC/vagrant-windows/issues/4
12
12
  # Not sure why this works, but it does.
@@ -0,0 +1,49 @@
1
+
2
+ function Test-ReparsePoint([string]$path) {
3
+ $file = Get-Item $path -Force -ea 0
4
+ return [bool]($file.Attributes -band [IO.FileAttributes]::ReparsePoint)
5
+ }
6
+
7
+
8
+ $MountPoint = [System.IO.Path]::GetFullPath("<%= options[:mount_point] %>")
9
+ $ShareName = "<%= options[:share_name] %>"
10
+
11
+ # https://github.com/BIAINC/vagrant-windows/issues/4
12
+ # Not sure why this works, but it does.
13
+
14
+ & net use $ShareName 2>&1 | Out-Null
15
+
16
+ Write-Debug "Attempting to mount $ShareName to $MountPoint"
17
+ if( (Test-Path "$MountPoint") -and (Test-ReparsePoint "$MountPoint") )
18
+ {
19
+ Write-Debug "Junction already exists, so I will delete it"
20
+ # Powershell refuses to delete junctions, oh well use cmd
21
+ cmd /c rd "$MountPoint"
22
+
23
+ if ( $LASTEXITCODE -ne 0 )
24
+ {
25
+ Write-Error "Failed to delete symbolic link at $MountPoint"
26
+ exit 1
27
+ }
28
+
29
+ }
30
+ elseif(Test-Path $MountPoint)
31
+ {
32
+ Write-Debug "Mount point already exists and is not a symbolic link"
33
+ exit 1
34
+ }
35
+
36
+ $BaseDirectory = [System.IO.Path]::GetDirectoryName($MountPoint)
37
+
38
+ if (-not (Test-Path $BaseDirectory))
39
+ {
40
+ Write-Debug "Creating parent directory for mount point $BaseDirectory"
41
+ New-Item $BaseDirectory -Type Directory -Force | Out-Null
42
+ }
43
+
44
+ cmd /c mklink /D "$MountPoint" "\\vmware-host\Shared Folders\$ShareName" | out-null
45
+
46
+ if ( $LASTEXITCODE -ne 0 )
47
+ {
48
+ exit 1
49
+ }
@@ -0,0 +1,6 @@
1
+ # Get network connections
2
+ $networkListManager = [Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]"{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"))
3
+ $connections = $networkListManager.GetNetworkConnections()
4
+
5
+ # Set network location to Private for all networks
6
+ $connections | % {$_.GetNetwork().SetCategory(1)}
@@ -0,0 +1,11 @@
1
+ $adapters = get-ciminstance win32_networkadapter -filter "macaddress is not null"
2
+ $processed = @()
3
+ foreach ($adapter in $adapters) {
4
+ $Processed += new-object PSObject -Property @{
5
+ mac_address = $adapter.macaddress
6
+ net_connection_id = $adapter.netconnectionid
7
+ interface_index = $adapter.interfaceindex
8
+ index = $adapter.index
9
+ }
10
+ }
11
+ convertto-json -inputobject $processed
@@ -1,3 +1,3 @@
1
1
  module VagrantWindows
2
- VERSION = "1.0.3"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -0,0 +1,14 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
4
+ require 'bundler'
5
+ Bundler.setup
6
+ Bundler.require
7
+
8
+ require "vagrant-windows/config/windows"
9
+ require "vagrant-windows/config/winrm"
10
+ require "vagrant-windows/communication/guestnetwork"
11
+ require "vagrant-windows/communication/winrmshell"
12
+ require "vagrant-windows/helper"
13
+
14
+
@@ -1,7 +1,6 @@
1
- require "vagrant-windows/config/windows"
2
- require "vagrant-windows/config/winrm"
1
+ require 'spec_helper'
3
2
 
4
- describe VagrantWindows::Config::Windows do
3
+ describe VagrantWindows::Config::Windows , :unit => true do
5
4
  let(:instance) { described_class.new }
6
5
 
7
6
  describe "defaults" do
@@ -42,7 +41,7 @@ describe VagrantWindows::Config::WinRM do
42
41
  its("host") { should == "localhost" }
43
42
  its("port") { should == 5985 }
44
43
  its("guest_port") { should == 5985 }
45
- its("max_tries") { should == 12 }
44
+ its("max_tries") { should == 20 }
46
45
  its("timeout") { should == 1800 }
47
46
  end
48
47
 
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+
3
+ describe VagrantWindows::Communication::GuestNetwork , :integration => true do
4
+
5
+ before(:all) do
6
+ # This test requires you already have a running Windows Server 2008 R2 Vagrant VM
7
+ # Not ideal, but you have to start somewhere
8
+ @shell = VagrantWindows::Communication::WinRMShell.new("localhost", "vagrant", "vagrant")
9
+ @guestnetwork = VagrantWindows::Communication::GuestNetwork.new(@shell)
10
+ end
11
+
12
+ describe "wsman_version" do
13
+ it "network_adapters" do
14
+ nics = @guestnetwork.network_adapters()
15
+ #puts nics.pretty_inspect()
16
+
17
+ expect(nics.count).to be >= 1
18
+ nic = nics[0]
19
+
20
+ expect(nic.has_key?(:mac_address)).to be_true
21
+ expect(nic.has_key?(:net_connection_id)).to be_true
22
+ expect(nic.has_key?(:interface_index)).to be_true
23
+ expect(nic.has_key?(:index)).to be_true
24
+
25
+ expect(nic[:mac_address]).to match(/^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$/)
26
+ Integer(nic[:interface_index])
27
+ Integer(nic[:index])
28
+ end
29
+
30
+ it "should configure DHCP for adapter" do
31
+ nics = @guestnetwork.network_adapters()
32
+ @guestnetwork.configure_dhcp_interface(nics[0][:index], nics[0][:net_connection_id])
33
+ expect(@guestnetwork.is_dhcp_enabled(nics[0][:index])).to be_true
34
+ end
35
+
36
+ it "should configure static IP for adapter" do
37
+ nics = @guestnetwork.network_adapters()
38
+ @guestnetwork.configure_static_interface(nics[1][:index], nics[1][:net_connection_id], "192.168.0.100", "255.255.255.0")
39
+ expect(@guestnetwork.is_dhcp_enabled(nics[1][:index])).to be_false
40
+ end
41
+
42
+ it "should configure all networks to work mode" do
43
+ @guestnetwork.set_all_networks_to_work()
44
+ end
45
+ end
46
+
47
+ end
@@ -1,6 +1,6 @@
1
- require "vagrant-windows/helper"
1
+ require 'spec_helper'
2
2
 
3
- describe VagrantWindows::Helper do
3
+ describe VagrantWindows::Helper , :unit => true do
4
4
 
5
5
  class DummyHelper
6
6
  include VagrantWindows::Helper
@@ -11,7 +11,7 @@ describe VagrantWindows::Helper do
11
11
  end
12
12
 
13
13
  describe "win_friendly_path" do
14
- it "should replace slashes with backslashes" do
14
+ it "should replace slashes with backslashes" do
15
15
  @dummy.win_friendly_path('c:/tmp/dir').should eq('c:\\tmp\\dir')
16
16
  end
17
17
 
@@ -23,5 +23,16 @@ describe VagrantWindows::Helper do
23
23
  @dummy.win_friendly_path(nil).should be_nil
24
24
  end
25
25
  end
26
+
27
+ describe "win_friendly_share_id" do
28
+ it "should use share id if present" do
29
+ @dummy.win_friendly_share_id('sharename').should eq('sharename')
30
+ end
31
+
32
+ it "should use last folder name in guest_path" do
33
+ @dummy.win_friendly_share_id('/tmp/folder/sharename').should eq('tmp_folder_sharename')
34
+ end
35
+
36
+ end
26
37
 
27
38
  end
@@ -0,0 +1,26 @@
1
+ require 'spec_helper'
2
+
3
+ describe VagrantWindows::Communication::WinRMCommunicator, :integration => true do
4
+
5
+ before(:all) do
6
+ # This test requires you already have a running Windows Server 2008 R2 Vagrant VM
7
+ # Not ideal, but you have to start somewhere
8
+ @shell = VagrantWindows::Communication::WinRMShell.new("localhost", "vagrant", "vagrant")
9
+ @communicator = VagrantWindows::Communication::WinRMCommunicator.new({})
10
+ @communicator.set_winrmshell(@shell)
11
+ end
12
+
13
+ describe "execute" do
14
+ it "should return 1" do
15
+ expect(@communicator.execute("exit 1")).to eq(1)
16
+ end
17
+
18
+ it "should return 1 with block" do
19
+ exit_code = @communicator.sudo("exit 1", {}) do |type, line|
20
+ puts line
21
+ end
22
+ expect(exit_code).to eq(1)
23
+ end
24
+ end
25
+
26
+ end
@@ -8,7 +8,38 @@ Gem::Specification.new do |gem|
8
8
  gem.summary = %q{A small gem that adds windows guest support to vagrant, uses WinRM as the Communication Channel}
9
9
  gem.homepage = ""
10
10
 
11
- gem.files = `git ls-files`.split($\)
11
+ # The following block of code determines the files that should be included
12
+ # in the gem. It does this by reading all the files in the directory where
13
+ # this gemspec is, and parsing out the ignored files from the gitignore.
14
+ # Note that the entire gitignore(5) syntax is not supported, specifically
15
+ # the "!" syntax, but it should mostly work correctly.
16
+ root_path = File.dirname(__FILE__)
17
+ all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
18
+ all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
19
+ gitignore_path = File.join(root_path, ".gitignore")
20
+ gitignore = File.readlines(gitignore_path)
21
+ gitignore.map! { |line| line.chomp.strip }
22
+ gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
23
+
24
+ unignored_files = all_files.reject do |file|
25
+ # Ignore any directories, the gemspec only cares about files
26
+ next true if File.directory?(file)
27
+
28
+ # Ignore any paths that match anything in the gitignore. We do
29
+ # two tests here:
30
+ #
31
+ # - First, test to see if the entire path matches the gitignore.
32
+ # - Second, match if the basename does, this makes it so that things
33
+ # like '.DS_Store' will match sub-directories too (same behavior
34
+ # as git).
35
+ #
36
+ gitignore.any? do |ignore|
37
+ File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
38
+ File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
39
+ end
40
+ end
41
+
42
+ gem.files = unignored_files
12
43
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
44
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
45
  gem.name = "vagrant-windows"
@@ -16,10 +47,10 @@ Gem::Specification.new do |gem|
16
47
  gem.version = VagrantWindows::VERSION
17
48
 
18
49
  gem.add_runtime_dependency "winrm", "~> 1.1.1"
19
- gem.add_runtime_dependency 'highline'
20
50
 
21
51
  gem.add_development_dependency "rake"
22
52
  gem.add_development_dependency "rspec-core", "~> 2.12.2"
23
53
  gem.add_development_dependency "rspec-expectations", "~> 2.12.1"
24
54
  gem.add_development_dependency "rspec-mocks", "~> 2.12.1"
55
+ gem.add_development_dependency "simplecov"
25
56
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-windows
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Paul Morton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-07 00:00:00.000000000 Z
11
+ date: 2013-09-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: winrm
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,47 +20,27 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.1.1
30
- - !ruby/object:Gem::Dependency
31
- name: highline
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
27
  - !ruby/object:Gem::Dependency
47
28
  name: rake
48
29
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
30
  requirements:
51
- - - ! '>='
31
+ - - '>='
52
32
  - !ruby/object:Gem::Version
53
33
  version: '0'
54
34
  type: :development
55
35
  prerelease: false
56
36
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
37
  requirements:
59
- - - ! '>='
38
+ - - '>='
60
39
  - !ruby/object:Gem::Version
61
40
  version: '0'
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: rspec-core
64
43
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
44
  requirements:
67
45
  - - ~>
68
46
  - !ruby/object:Gem::Version
@@ -70,7 +48,6 @@ dependencies:
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
52
  - - ~>
76
53
  - !ruby/object:Gem::Version
@@ -78,7 +55,6 @@ dependencies:
78
55
  - !ruby/object:Gem::Dependency
79
56
  name: rspec-expectations
80
57
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
58
  requirements:
83
59
  - - ~>
84
60
  - !ruby/object:Gem::Version
@@ -86,7 +62,6 @@ dependencies:
86
62
  type: :development
87
63
  prerelease: false
88
64
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
65
  requirements:
91
66
  - - ~>
92
67
  - !ruby/object:Gem::Version
@@ -94,7 +69,6 @@ dependencies:
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: rspec-mocks
96
71
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
72
  requirements:
99
73
  - - ~>
100
74
  - !ruby/object:Gem::Version
@@ -102,11 +76,24 @@ dependencies:
102
76
  type: :development
103
77
  prerelease: false
104
78
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
79
  requirements:
107
80
  - - ~>
108
81
  - !ruby/object:Gem::Version
109
82
  version: 2.12.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
110
97
  description: Windows Guest Support for Vagrant
111
98
  email:
112
99
  - pmorton@biaprotect.com
@@ -114,63 +101,121 @@ executables: []
114
101
  extensions: []
115
102
  extra_rdoc_files: []
116
103
  files:
117
- - .gitignore
104
+ - coverage/assets/0.7.1/application.css
105
+ - coverage/assets/0.7.1/application.js
106
+ - coverage/assets/0.7.1/fancybox/blank.gif
107
+ - coverage/assets/0.7.1/fancybox/fancy_close.png
108
+ - coverage/assets/0.7.1/fancybox/fancy_loading.png
109
+ - coverage/assets/0.7.1/fancybox/fancy_nav_left.png
110
+ - coverage/assets/0.7.1/fancybox/fancy_nav_right.png
111
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
112
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
113
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
114
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
115
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
116
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
117
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
118
+ - coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
119
+ - coverage/assets/0.7.1/fancybox/fancy_title_left.png
120
+ - coverage/assets/0.7.1/fancybox/fancy_title_main.png
121
+ - coverage/assets/0.7.1/fancybox/fancy_title_over.png
122
+ - coverage/assets/0.7.1/fancybox/fancy_title_right.png
123
+ - coverage/assets/0.7.1/fancybox/fancybox-x.png
124
+ - coverage/assets/0.7.1/fancybox/fancybox-y.png
125
+ - coverage/assets/0.7.1/fancybox/fancybox.png
126
+ - coverage/assets/0.7.1/favicon_green.png
127
+ - coverage/assets/0.7.1/favicon_red.png
128
+ - coverage/assets/0.7.1/favicon_yellow.png
129
+ - coverage/assets/0.7.1/loading.gif
130
+ - coverage/assets/0.7.1/magnify.png
131
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
132
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
133
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
134
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
135
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
136
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
137
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
138
+ - coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
139
+ - coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
140
+ - coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
141
+ - coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
142
+ - coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
143
+ - coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
144
+ - coverage/index.html
118
145
  - Gemfile
119
- - Gemfile.lock
120
- - README.md
121
- - Rakefile
122
- - lib/vagrant-windows.rb
146
+ - lib/vagrant-windows/communication/guestnetwork.rb
123
147
  - lib/vagrant-windows/communication/winrmcommunicator.rb
148
+ - lib/vagrant-windows/communication/winrmfinder.rb
149
+ - lib/vagrant-windows/communication/winrmshell.rb
124
150
  - lib/vagrant-windows/config/windows.rb
125
151
  - lib/vagrant-windows/config/winrm.rb
126
152
  - lib/vagrant-windows/errors.rb
153
+ - lib/vagrant-windows/guest/cap/change_host_name.rb
154
+ - lib/vagrant-windows/guest/cap/configure_networks.rb
155
+ - lib/vagrant-windows/guest/cap/halt.rb
156
+ - lib/vagrant-windows/guest/cap/mount_virtualbox_shared_folder.rb
157
+ - lib/vagrant-windows/guest/cap/mount_vmware_shared_folder.rb
127
158
  - lib/vagrant-windows/guest/windows.rb
128
159
  - lib/vagrant-windows/helper.rb
129
- - lib/vagrant-windows/monkey_patches/chef_solo.rb
130
- - lib/vagrant-windows/monkey_patches/machine.rb
131
- - lib/vagrant-windows/monkey_patches/provisioner.rb
132
- - lib/vagrant-windows/monkey_patches/puppet.rb
133
- - lib/vagrant-windows/monkey_patches/vbox_42_driver.rb
160
+ - lib/vagrant-windows/monkey_patches/lib/vagrant/machine.rb
161
+ - lib/vagrant-windows/monkey_patches/plugins/providers/virtualbox/action/share_folders.rb
162
+ - lib/vagrant-windows/monkey_patches/plugins/providers/virtualbox/driver/version_4_2.rb
163
+ - lib/vagrant-windows/monkey_patches/plugins/provisioners/chef/provisioner/chef_client.rb
164
+ - lib/vagrant-windows/monkey_patches/plugins/provisioners/chef/provisioner/chef_solo.rb
165
+ - lib/vagrant-windows/monkey_patches/plugins/provisioners/puppet/provisioner/puppet.rb
166
+ - lib/vagrant-windows/monkey_patches/plugins/provisioners/puppet/provisioner/puppet_server.rb
167
+ - lib/vagrant-windows/monkey_patches/plugins/provisioners/shell/provisioner.rb
134
168
  - lib/vagrant-windows/plugin.rb
169
+ - lib/vagrant-windows/scripts/cheftask.ps1.erb
170
+ - lib/vagrant-windows/scripts/cheftask.xml.erb
171
+ - lib/vagrant-windows/scripts/cheftaskrun.ps1.erb
135
172
  - lib/vagrant-windows/scripts/command_alias.ps1
136
- - lib/vagrant-windows/scripts/mount_volume.ps1.erb
137
- - lib/vagrant-windows/scripts/ps_runas.ps1.erb
173
+ - lib/vagrant-windows/scripts/mount_volume.virtualbox.ps1.erb
174
+ - lib/vagrant-windows/scripts/mount_volume.vmware.ps1.erb
175
+ - lib/vagrant-windows/scripts/set_work_network.ps1
176
+ - lib/vagrant-windows/scripts/winrs_v3_get_adapters.ps1
138
177
  - lib/vagrant-windows/version.rb
178
+ - lib/vagrant-windows.rb
139
179
  - locales/en.yml
180
+ - Rakefile
181
+ - README.md
182
+ - spec/spec_helper.rb
140
183
  - spec/vagrant-windows/config_spec.rb
184
+ - spec/vagrant-windows/guestnetwork_spec.rb
141
185
  - spec/vagrant-windows/helper_spec.rb
186
+ - spec/vagrant-windows/winrmcommunicator_spec.rb
142
187
  - vagrant-windows.gemspec
188
+ - .gitignore
189
+ - .travis.yml
190
+ - coverage/.last_run.json
191
+ - coverage/.resultset.json
143
192
  homepage: ''
144
193
  licenses: []
194
+ metadata: {}
145
195
  post_install_message:
146
196
  rdoc_options: []
147
197
  require_paths:
148
198
  - lib
149
199
  required_ruby_version: !ruby/object:Gem::Requirement
150
- none: false
151
200
  requirements:
152
- - - ! '>='
201
+ - - '>='
153
202
  - !ruby/object:Gem::Version
154
203
  version: '0'
155
- segments:
156
- - 0
157
- hash: 459186587088148181
158
204
  required_rubygems_version: !ruby/object:Gem::Requirement
159
- none: false
160
205
  requirements:
161
- - - ! '>='
206
+ - - '>='
162
207
  - !ruby/object:Gem::Version
163
208
  version: '0'
164
- segments:
165
- - 0
166
- hash: 459186587088148181
167
209
  requirements: []
168
210
  rubyforge_project:
169
- rubygems_version: 1.8.25
211
+ rubygems_version: 2.0.3
170
212
  signing_key:
171
- specification_version: 3
213
+ specification_version: 4
172
214
  summary: A small gem that adds windows guest support to vagrant, uses WinRM as the
173
215
  Communication Channel
174
216
  test_files:
217
+ - spec/spec_helper.rb
175
218
  - spec/vagrant-windows/config_spec.rb
219
+ - spec/vagrant-windows/guestnetwork_spec.rb
176
220
  - spec/vagrant-windows/helper_spec.rb
221
+ - spec/vagrant-windows/winrmcommunicator_spec.rb