vagrant-aws-mscottford 0.8.0 → 0.8.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 493ddeda755b1b606e3ee399b4682b7cf31568d2cd864897bd533c84ad2e6703
4
- data.tar.gz: 42f228de856369bf0b87d22b92804c44d8ec1e18965b4f65f75f5361deb7e0fd
3
+ metadata.gz: 03221fd2f9345b1e75df7700b40f97db339c900b0a5c9f0429022aa0b711e07e
4
+ data.tar.gz: 925bfd3e58cb25a48c8934d6614a18bf6db4768fa9be1954a9546e9b9c50bab4
5
5
  SHA512:
6
- metadata.gz: 77f709420c5026f351d70214074588561318750b1b38901af80bf19abc2717bbe4cbbcf5747235f3e46056d1fa31b9eb3a3c6a74bc4e36a0f955b68c8ed7e9b8
7
- data.tar.gz: 38848e8d41edd7462c4831e744db7c74747df519f253df2b6759abb25d32fae40ea85d39fab61072aeddb0c722da1860a9c60b74d735d0c02a826ba26f193332
6
+ metadata.gz: f143c79faf61903b14dcbdb80c79bd149857334446965f17e54093c18f190c5b6f94c512044de9bd420818801f328053f3778c2751a021949416a934103bc2b6
7
+ data.tar.gz: f28fdcdda500f58df0a0ef741b04dd2a18bd958e72dc77049a56c7dddc7788217c30970c9f43e3f2c7a69348db5fa50227ff275868cff61eaf6b176b6bff6f17
data/README.md CHANGED
@@ -35,7 +35,10 @@ installing, `vagrant up` and specify the `aws` provider. An example is
35
35
  shown below.
36
36
 
37
37
  ```
38
- $ vagrant plugin install vagrant-aws
38
+ # Uninstall the original plugin
39
+ $ vagrant plugin uninstall vagrant-aws
40
+ # Install the mscottford fork
41
+ $ vagrant plugin install vagrant-aws-mscottford --entry-point vagrant-aws
39
42
  ...
40
43
  $ vagrant up --provider=aws
41
44
  ...
@@ -13,6 +13,8 @@ module VagrantPlugins
13
13
  info[:host] = CommunicatorWinRM::Helper.winrm_address(machine)
14
14
  info[:port] = CommunicatorWinRM::Helper.winrm_port(machine, info[:host] == "127.0.0.1")
15
15
 
16
+ LOGGER.debug("WinRM password: #{machine.config.winrm.password.inspect}")
17
+
16
18
  if machine.config.winrm.password == :query_ec2 || machine.config.winrm.password == :query_ec2_retry
17
19
  machine.ui.info("Looking up Windows password for instance #{machine.id}...") if machine.config.winrm.password != :query_ec2_retry
18
20
 
@@ -24,11 +26,15 @@ module VagrantPlugins
24
26
  command += " --profile #{aws_profile}"
25
27
  end
26
28
 
29
+ LOGGER.debug("Executing: #{command}")
27
30
  response = JSON.parse(`#{command}`)
31
+ LOGGER.debug("Response: #{response.inspect}")
32
+
28
33
  machine.config.winrm.password = response["PasswordData"]
34
+ LOGGER.debug("Windows password from response: #{machine.config.winrm.password.inspect}")
29
35
 
30
36
  if machine.config.winrm.password.nil? || machine.config.winrm.password.empty?
31
- machine.ui.debug("Windows password not available yet. Retrying after 30 seconds...")
37
+ LOGGER.debug("Windows password not available yet. Retrying after 30 seconds...")
32
38
  sleep(30)
33
39
  machine.config.winrm.password = :query_ec2_retry
34
40
  raise Errors::WinRMNotReady
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module AWS
3
- VERSION = '0.8.0'
3
+ VERSION = '0.8.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-aws-mscottford
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitchell Hashimoto