vagrant-windows-domain 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e30bd4addda05305cd59a0e120c3790b20d5c2f5
4
- data.tar.gz: 2f5d4a1ff6e0a6fd34dc3f518e75fba516520220
3
+ metadata.gz: cae5f2a973b8911ac508e113bd034e2aae00fcf0
4
+ data.tar.gz: bd1a69befcc4f943d6e3a0f69baff17b3a84063d
5
5
  SHA512:
6
- metadata.gz: bdcca197a09d606352a9431c7dc65963bff2909cf23486213460a55a4879f13c4b08e72d25a72a8291fe04f0e37b7f1f122027124f7cdb3b1ec091a6831fcd4d
7
- data.tar.gz: cd78c6f6c8fd24b7bd16c8aed4973a653592fc13b79070996ad0c48fee2367bab593dce7bf5e1b78229fea357a4e564528397dde69415b6420d0507aaaad964d
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.debug("Initialising WindowsDomain plugin on destroy action")
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
 
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module WindowsDomain
3
- VERSION = "1.1.5"
3
+ VERSION = "1.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-windows-domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Fellows