vagrant-terraform 0.3.1 → 0.3.2

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: 297fcfc9b778b568ae030ac019fcee1043b09fb308c4aa5c1d871b75ab499037
4
+ data.tar.gz: aa1f2f6cee4ecee0dd672ad18afbad59f3567b3bffbb6eea207bcb68decc4196
5
5
  SHA512:
6
- metadata.gz: b8e534fa2932eb9c8e989d246b3fb59cfb975b666c44bcc4a678bc003e8740fa1a5eef2f135d7c9e05cddf4f20a0fc18820847276f40c0c8c20daf6834bc85b9
7
- data.tar.gz: 3ac63bcb64cda3c2974a04c40b389d267882b40ce9f8b48830869a98cc622f9035943b2bf3612a4520bd7221b7668a545c0a454fcf53be532f339e5dcdb2b91b
6
+ metadata.gz: 2cc0587b5d33aaf820379d0cda29b39b77ad5449db7ce4816eed403098792c6a12af20a2cfb76066fbec8ad103197b087db2d6052e7d693fef5abf9a01f1a34c
7
+ data.tar.gz: 787b79e397a795b5d03c10e229ab79929e2e177e0b42286c0f954d0b94e0aa17c928c53406572ebcf4018491faddb1f97839c1ae5c2ac7e54464e5db256e4f39
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
@@ -82,6 +82,11 @@ resource "proxmox_vm_qemu" "#{vmname.gsub(/\./, '-')}" {
82
82
  }
83
83
  }
84
84
  }
85
+ rng {
86
+ limit = 1024
87
+ period = 10000
88
+ source = "/dev/urandom"
89
+ }
85
90
  %SERIAL%
86
91
  nameserver = "#{config.nameserver}"
87
92
  searchdomain = "#{config.searchdomain}"
@@ -102,7 +107,7 @@ terraform {
102
107
  required_providers {
103
108
  proxmox = {
104
109
  source = "telmate/proxmox"
105
- version = "3.0.2-rc01"
110
+ version = "3.0.2-rc05"
106
111
  }
107
112
  }
108
113
  }
@@ -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.2'
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.2
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-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: filesize