vagrant-terraform 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: edb41e08a418af4d077dd3d7fa61f67af42ac6239cf4b8646fd574da70023d07
4
- data.tar.gz: 6edfb8f3ff64491c1de3ab26cb4a0654561c3a49c3326f317a5f740e2850fcbf
3
+ metadata.gz: 6374a96c7b447abb47a19205790c36eb49389f2b7e46a34ab69c56bdc4558195
4
+ data.tar.gz: 7a0420fef4700d63638b185d153141eea6c124ab6404dbfa66c8dc0b4e5fc8f4
5
5
  SHA512:
6
- metadata.gz: b8e534fa2932eb9c8e989d246b3fb59cfb975b666c44bcc4a678bc003e8740fa1a5eef2f135d7c9e05cddf4f20a0fc18820847276f40c0c8c20daf6834bc85b9
7
- data.tar.gz: 3ac63bcb64cda3c2974a04c40b389d267882b40ce9f8b48830869a98cc622f9035943b2bf3612a4520bd7221b7668a545c0a454fcf53be532f339e5dcdb2b91b
6
+ metadata.gz: a98d66dcc11e74364b003bc61f68b40173b9b8a44c212c2bf4dde1c82d91ea266202c7d08ab305c15327a648c45210f295c26b12f40806c4237fc3857fadaae6
7
+ data.tar.gz: 64aa8e29e36a066d28731f0cd6a59875af08ff9d39e49f39a240d18a9b7be32add0d69c56cceaf6d5c7dff4b3ebaa938c1714718dab072951183e706f66bb91b
data/Gemfile.lock CHANGED
@@ -8,4 +8,4 @@ PLATFORMS
8
8
  DEPENDENCIES
9
9
 
10
10
  BUNDLED WITH
11
- 2.2.33
11
+ 2.7.2
@@ -47,6 +47,7 @@ resource "proxmox_vm_qemu" "#{vmname.gsub(/\./, '-')}" {
47
47
  target_nodes = ["#{config.target_node}"]
48
48
  desc = "#{config.description}"
49
49
  vm_state = "stopped"
50
+ tags = ""
50
51
  clone = "#{config.template}"
51
52
  full_clone = #{config.full_clone}
52
53
  cores = #{config.cpu_cores.to_i}
@@ -82,6 +83,11 @@ resource "proxmox_vm_qemu" "#{vmname.gsub(/\./, '-')}" {
82
83
  }
83
84
  }
84
85
  }
86
+ rng {
87
+ limit = 1024
88
+ period = 10000
89
+ source = "/dev/urandom"
90
+ }
85
91
  %SERIAL%
86
92
  nameserver = "#{config.nameserver}"
87
93
  searchdomain = "#{config.searchdomain}"
@@ -102,7 +108,7 @@ terraform {
102
108
  required_providers {
103
109
  proxmox = {
104
110
  source = "telmate/proxmox"
105
- version = "3.0.2-rc01"
111
+ version = "3.0.2-rc05"
106
112
  }
107
113
  }
108
114
  }
@@ -30,7 +30,7 @@ module VagrantPlugins
30
30
  # read_state might get called several times. Avoid refreshing 5 times in a row
31
31
  # for example during "vagrant up" for no obvious reason.
32
32
  if $terraform_refreshed.nil?
33
- terraform_execute(env, 'terraform refresh')
33
+ terraform_execute(env, 'terraform refresh', 'is not running')
34
34
  $terraform_refreshed = true
35
35
  end
36
36
 
@@ -7,7 +7,7 @@ module VagrantPlugins
7
7
 
8
8
  module_function
9
9
 
10
- def terraform_execute(env, command)
10
+ def terraform_execute(env, command, ignore_error = nil)
11
11
  env[:machine_tf_dir] = ".vagrant/terraform/#{env[:machine].id}" if env[:machine_tf_dir].nil?
12
12
  Dir.mkdir(env[:machine_tf_dir]) unless File.exist?(env[:machine_tf_dir])
13
13
 
@@ -20,7 +20,7 @@ module VagrantPlugins
20
20
  env[:ui].info("terraform status: #{status}")
21
21
  end
22
22
 
23
- if status != 0
23
+ if status != 0 && !(ignore_error && stderr.include?(ignore_error))
24
24
  raise Errors::TerraformError,
25
25
  :error_message => "terraform command '#{command}' failed with status: #{status}, stderr: #{stderr}"
26
26
  end
@@ -1,6 +1,6 @@
1
1
  module VagrantPlugins
2
2
  module TerraformProvider
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.3'
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-terraform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mika Båtsman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-02 00:00:00.000000000 Z
11
+ date: 2025-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: filesize