vagrant-orchestrate 0.4.4 → 0.4.5

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: 78b53c22041cf75879eb50157663aa080d182eca
4
- data.tar.gz: aba33c1130ae51df6a07442d8092f36015abe70c
3
+ metadata.gz: 4760cd6a2cdc63739d752fe2341dd49e2e174676
4
+ data.tar.gz: c244aaadc7615858ae95ee9315ae6d306cdad82e
5
5
  SHA512:
6
- metadata.gz: 85c87a908bf10de5118b83c345c9594cdc6256a81b9f274c56c3b0486b91ee6c74461b02b7eac10e4d3b24b2d80fee546ab6070825ecf030f5359d7e7f6e30ee
7
- data.tar.gz: cc27e6a90bc389703f5a7784e08a6704fc2a9d55a78558ee8c3f8503fb70d7af2d2b92751adff1db7ce842e6dbb2c720abf3b46fbbf516078a48f54a3bbf2ea9
6
+ metadata.gz: bbabd2ed817ea80ce81706464852f569b59e5e5bae90b25979765380772af47857c94f61e212dcd4776eed92cfe820e44811e92e63c9ba705bc89eaf6d12cb07
7
+ data.tar.gz: a7f8b8f32cc8d86ba46267ab946a1bdc730e0a309fcdac9288c2bde3978d2477fbf7a57c3aec28f0922f36dea73697678b1a46076276b885ccb6f054e14c2993
@@ -47,8 +47,7 @@ Continuing with default credentials."
47
47
  end
48
48
 
49
49
  def apply_creds(username, password)
50
- configs = [@machine.config.winrm, @machine.config.ssh]
51
- configs.each do |config|
50
+ [@machine.config.winrm, @machine.config.ssh].each do |config|
52
51
  next unless config
53
52
  config.username = username
54
53
  config.password = password
@@ -34,24 +34,24 @@ module VagrantPlugins
34
34
  Command::Root
35
35
  end
36
36
 
37
+ action_hook(:orchestrate, Plugin::ALL_ACTIONS) do |hook|
38
+ hook.before Vagrant::Action::Builtin::ConfigValidate, Action::SetCredentials
39
+ end
40
+
37
41
  action_hook(:orchestrate, :machine_action_up) do |hook|
38
42
  hook.prepend Action::FilterManaged
39
- hook.prepend Action::SetCredentials
40
43
  end
41
44
 
42
45
  action_hook(:orchestrate, :machine_action_provision) do |hook|
43
46
  hook.prepend Action::FilterManaged
44
- hook.prepend Action::SetCredentials
45
47
  end
46
48
 
47
49
  action_hook(:orchestrate, :machine_action_destroy) do |hook|
48
50
  hook.prepend Action::FilterManaged
49
- hook.prepend Action::SetCredentials
50
51
  end
51
52
 
52
53
  action_hook(:orchestrate, :machine_action_reload) do |hook|
53
54
  hook.prepend Action::FilterManaged
54
- hook.prepend Action::SetCredentials
55
55
  end
56
56
 
57
57
  # This initializes the internationalization strings.
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Orchestrate
3
- VERSION = "0.4.4"
3
+ VERSION = "0.4.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-orchestrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Baldauf