vagrant-norequiretty 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: 38f0ef4f13060fcbaa6fe92d181463695c003f32
4
- data.tar.gz: 8d31c3986baa3f8fb92106c94b402b9b54e64a70
3
+ metadata.gz: 69d5478c850807408b38d24a8fa60b91c001f277
4
+ data.tar.gz: cd68e552dc9cc2ebd2bd2f0b57e4384675772451
5
5
  SHA512:
6
- metadata.gz: 29e8ca5232e89325ee63c797262c9e103c4e06ae2cc565d53f295e7605e8fefc77b26cc3be5145f5827e18a1d5a3a6720841067ad33dd9116c0d0e6b90ee186c
7
- data.tar.gz: b46c3b4e12a52587e26e74e5a302bcd20e5d69a58d817608c691f539dafe370c730ff91132deaa73d33f2dfd8d62b0ea1ed50b5ea43cc25323515c560daff234
6
+ metadata.gz: 474d10f1a07c90ea01bd4de8d4d921c4d94f36e33b5d2ab48a23bf966c25e04eac8cea38471a2de9213b8018692063d263edd164025bc33af9354e1ebe0d8d68
7
+ data.tar.gz: 731e6969d7c7d922db8b6f10c649a9daa1432b0b0fec29dcaffd244217b69b3c5cb1bb06d24bce6b48648107f918f0cb1468fa2286a9d1ea11e2a7ba4e16a5dd
data/CHANGELOG CHANGED
@@ -1,6 +1,17 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 0.0.3
5
+ -----
6
+
7
+ 2016-04-06
8
+
9
+ This is a backwards compatible feature release.
10
+
11
+ * (GH-2) Add support for vagrant-openstack-provider and
12
+ vagrant-openstack-plugin.
13
+
14
+
4
15
  0.0.2
5
16
  -----
6
17
 
data/README.markdown CHANGED
@@ -45,8 +45,9 @@ clear. For many cases,
45
45
  >
46
46
  > I see no pros. Do you?
47
47
 
48
- This Vagrant plugin hooks into startup actions for VirtualBox, vSphere and
49
- VMware Desktop providers and runs a `sed` command to purge the `requiretty`
50
- setting before provisioners, synced folders and networking actions are executed.
48
+ This Vagrant plugin hooks into startup actions for VirtualBox, vSphere, VMware
49
+ Desktop, and OpenStack providers by running a `sed` command to purge the
50
+ `requiretty` setting from `/etc/sudoers` before provisioners, synced folders
51
+ and networking actions are executed.
51
52
 
52
53
  Support for additional providers coming soon.
@@ -26,7 +26,11 @@ module VagrantNoRequireTTY
26
26
  end
27
27
 
28
28
  def supports_requiretty?(machine)
29
- machine.communicate.ready? && machine.guest.capability?(:norequiretty)
29
+ # Some versions of the OpenStack provider crash if
30
+ # machine.communicate.ready? is called before the machine is created.
31
+ (machine.state.id != :not_created) &&
32
+ machine.communicate.ready? &&
33
+ machine.guest.capability?(:norequiretty)
30
34
  rescue Vagrant::Errors::VagrantError
31
35
  # WinRM will raise an error if the VM isn't running instead of
32
36
  # returning false.
@@ -16,6 +16,9 @@ class VagrantNoRequireTTY::Plugin < Vagrant.plugin(2)
16
16
 
17
17
  # For RSync.
18
18
  hook.after(Vagrant::Action::Builtin::SyncedFolders, action)
19
+ if defined? VagrantPlugins::Openstack::Action::SyncFolders
20
+ hook.after(VagrantPlugins::Openstack::Action::SyncFolders, action)
21
+ end
19
22
  end
20
23
 
21
24
  # For everything else.
@@ -1,3 +1,3 @@
1
1
  module VagrantNoRequireTTY
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-norequiretty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Sharpsteen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-03 00:00:00.000000000 Z
11
+ date: 2016-04-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  Ever get a "sorry, you must have a tty to run sudo" error? Maybe