vagrant-windows-domain 1.1.5 → 1.1.6
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: cae5f2a973b8911ac508e113bd034e2aae00fcf0
|
4
|
+
data.tar.gz: bd1a69befcc4f943d6e3a0f69baff17b3a84063d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c19b9e1d2112d005bcf99f079da39cf09960569a46de456d8a953e8616065f9945fada0b8f1453f062044e192dec1333b08140b2c8d58f9c0bcb066ec5d003
|
7
|
+
data.tar.gz: 8cd3c96833f6830957beab896fabe72ac4ca9d9a14653ce4412e297b913c60c6bee537d8736b2745b50373c6545f0fcfdeff2f8fdcf401157cbabcc332b7ced0
|
@@ -7,10 +7,10 @@ module VagrantPlugins
|
|
7
7
|
include VagrantPlugins::WindowsDomain
|
8
8
|
|
9
9
|
def initialize(app, env)
|
10
|
-
logger.
|
10
|
+
@logger = Log4r::Logger.new("vagrant::provisioners::vagrant_windows_domain")
|
11
|
+
@logger.debug("Initialising WindowsDomain plugin on destroy action")
|
11
12
|
@app = app
|
12
13
|
@machine = env[:machine]
|
13
|
-
@logger = Log4r::Logger.new("vagrant::provisioners::vagrant_windows_domain")
|
14
14
|
|
15
15
|
@machine.config.vm.provisioners.each do |prov|
|
16
16
|
@config = prov.config if prov.config.is_a?(VagrantPlugins::WindowsDomain::Config)
|
@@ -21,11 +21,11 @@ module VagrantPlugins
|
|
21
21
|
|
22
22
|
def call(env)
|
23
23
|
if @config
|
24
|
-
logger.debug("Configuration detected, triggering leave domain action")
|
24
|
+
@logger.debug("Configuration detected, triggering leave domain action")
|
25
25
|
@provisioner.destroy
|
26
26
|
@app.call(env)
|
27
27
|
else
|
28
|
-
logger.debug("No configuration detected, not leaving any domain")
|
28
|
+
@logger.debug("No configuration detected, not leaving any domain")
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|