vagrant-windows-domain 1.1.6 → 1.1.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5a4484f57b9b433e8299324a8cc574809763571
|
4
|
+
data.tar.gz: d604d562237867e5c6e6ca019b51d4e6be7b5b5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c6519d627645442489e233fcf61def98cd363b53773f16d5f205ae03d071442655180317e53dd67bf8a3fd0dd78f795bac4d9fdfaef8888b4987019ca1a2031
|
7
|
+
data.tar.gz: 2a10e956e23facd3e314b70daf2092a7bb0ea766ec3d6587b656c497c0393b9c3a0e19cc22710c29df391242311a5f217c8f1502df857ca3ca071cf40c49d34b
|
data/development/Vagrantfile
CHANGED
@@ -10,7 +10,8 @@ VAGRANTFILE_API_VERSION = "2"
|
|
10
10
|
|
11
11
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
12
12
|
|
13
|
-
config.vm.box = "
|
13
|
+
config.vm.box = "talentsearch-api-1.0.2"
|
14
|
+
# config.vm.box = "mfellows/windows2012r2"
|
14
15
|
config.vm.guest = :windows
|
15
16
|
config.vm.communicator = "winrm"
|
16
17
|
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
|
@@ -23,10 +23,10 @@ module VagrantPlugins
|
|
23
23
|
if @config
|
24
24
|
@logger.debug("Configuration detected, triggering leave domain action")
|
25
25
|
@provisioner.destroy
|
26
|
-
@app.call(env)
|
27
26
|
else
|
28
27
|
@logger.debug("No configuration detected, not leaving any domain")
|
29
28
|
end
|
29
|
+
@app.call(env)
|
30
30
|
end
|
31
31
|
|
32
32
|
end
|
@@ -103,6 +103,45 @@ module VagrantPlugins
|
|
103
103
|
# for any state related to the machine created by the provisioner
|
104
104
|
# to be cleaned up.
|
105
105
|
def destroy
|
106
|
+
#
|
107
|
+
# # Returns the state of this machine. The state is queried from the
|
108
|
+
# # backing provider, so it can be any arbitrary symbol.
|
109
|
+
# #
|
110
|
+
# # @return [MachineState]
|
111
|
+
# def state
|
112
|
+
# result = @provider.state
|
113
|
+
# raise Errors::MachineStateInvalid if !result.is_a?(MachineState)
|
114
|
+
|
115
|
+
# # Update our state cache if we have a UUID and an entry in the
|
116
|
+
# # master index.
|
117
|
+
# uuid = index_uuid
|
118
|
+
# if uuid
|
119
|
+
# entry = @env.machine_index.get(uuid)
|
120
|
+
# if entry
|
121
|
+
# entry.state = result.short_description
|
122
|
+
# @env.machine_index.set(entry)
|
123
|
+
# @env.machine_index.release(entry)
|
124
|
+
# end
|
125
|
+
# end
|
126
|
+
|
127
|
+
# result
|
128
|
+
# end
|
129
|
+
|
130
|
+
|
131
|
+
# Check state: if NOT running, prompt user to start the box and return false
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
# Check state: if running, continue
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
# Potentially ask if the user really wants to destroy first?
|
140
|
+
|
141
|
+
# If we leave, set Force Key :force_confirm_destroy to true
|
142
|
+
# -> We have already left domain!
|
143
|
+
|
144
|
+
|
106
145
|
if @config && @config.include?("domain")
|
107
146
|
set_credentials
|
108
147
|
leave_domain
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-windows-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Fellows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
|
-
rubygems_version: 2.
|
201
|
+
rubygems_version: 2.4.1
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Windows Domain Provisioner for Vagrant
|