vagrant-k3s 0.2.1 → 0.3.1

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: d58370523d41e4bf97bfc2beecb7751dad4001ff4f7e035937448a1a10883192
4
- data.tar.gz: 58769f229916b8b39c5e37cccfe33fc055327682e3013602e3154c322fc9c7d8
3
+ metadata.gz: d733ab694cd283f673b7bb5c14c81cd75c1d477ad82ef5890cae2940791b2049
4
+ data.tar.gz: d8e7542bafd5e6d1cecd46e329ddca3f546749974c93103c90e7bcb752d9bc33
5
5
  SHA512:
6
- metadata.gz: 0d1ec1a64984af480b2bd1cc668c10d805f8023d76fa3724d844e49465a9c749c6932ade187672f4951377e8dcd3f87dcfb60d25de6c78547eb2246b6aad13c7
7
- data.tar.gz: 2e6e74745f4d2c9048fcd199d8e1d7b9573412bd7b6c361620d8b7daa7d8e565275e4d2f6cb0d20a0f9c5d5054c926e82d4fbeb6b7b301348ee7eef94c44fa1f
6
+ metadata.gz: 4cbecad4803695592aec3ee9f5984189afe2ced189faac61155074fe691ee78054026a6ac6b20cc1cd33e52c1a3533cb39787634a092a2f2dca63038049ce9a6
7
+ data.tar.gz: 1910f15df41c83065b084609174254e7a9f40a8349259c20bc46c2af647b9c49a397e26eaf35ee429f4e7fc06111593cfadabd9841d16bb62374f8183d291c58
data/Gemfile CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- group :development do
6
- gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git', tag: "v2.3.6"
5
+ group :development, :test do
6
+ gem 'vagrant', '>= 2.4.0' # Or your target vagrant version
7
+ gem 'rake', '>= 13.0'
8
+ gem 'rspec', '>= 3.11'
7
9
  end
8
10
 
9
11
  group :plugins do
10
12
  gemspec
11
- # gem "vagrant-reload"
12
- # gem "vagrant-timezone"
13
13
  end
data/Gemfile.lock CHANGED
@@ -1,112 +1,127 @@
1
1
  GIT
2
2
  remote: https://github.com/hashicorp/vagrant.git
3
- revision: 7d35c832db0cbdd80d4c3bfeaaad550480b70dd1
4
- tag: v2.3.6
3
+ revision: c70e8ab32cd3505637e3ada6de589758bf4fbf92
5
4
  specs:
6
- vagrant (2.3.6)
5
+ vagrant (2.4.8.dev)
6
+ base64 (~> 0.2.0)
7
7
  bcrypt_pbkdf (~> 1.1)
8
- childprocess (~> 4.1.0)
8
+ childprocess (~> 5.1)
9
+ csv (~> 3.3)
9
10
  ed25519 (~> 1.3.0)
10
11
  erubi
11
- googleapis-common-protos-types (~> 1.3)
12
- grpc
13
12
  hashicorp-checkpoint (~> 0.1.5)
14
13
  i18n (~> 1.12)
15
14
  ipaddr (>= 1.2.4)
16
15
  listen (~> 3.7)
17
16
  log4r (~> 1.1.9, < 1.1.11)
17
+ logger (~> 1.0)
18
18
  mime-types (~> 3.3)
19
19
  net-ftp (~> 0.2)
20
20
  net-scp (~> 4.0)
21
21
  net-sftp (~> 4.0)
22
22
  net-ssh (~> 7.0)
23
+ ostruct (~> 0.6.0)
23
24
  rb-kqueue (~> 0.2.0)
24
25
  rexml (~> 3.2)
25
- rgl (~> 0.5.10)
26
26
  rubyzip (~> 2.3.2)
27
- vagrant_cloud (~> 3.0.5)
28
- wdm (~> 0.1.1)
29
- winrm (>= 2.3.6, < 3.0)
27
+ vagrant_cloud (~> 3.1.2)
28
+ wdm (~> 0.2.0)
29
+ winrm (>= 2.3.9, < 3.0)
30
30
  winrm-elevated (>= 1.2.3, < 2.0)
31
31
  winrm-fs (>= 1.3.5, < 2.0)
32
32
 
33
33
  PATH
34
34
  remote: .
35
35
  specs:
36
- vagrant-k3s (0.2.0)
36
+ vagrant-k3s (0.3.0)
37
37
 
38
38
  GEM
39
39
  remote: https://rubygems.org/
40
40
  specs:
41
- bcrypt_pbkdf (1.1.0)
42
- builder (3.2.4)
43
- childprocess (4.1.0)
44
- concurrent-ruby (1.2.2)
45
- date (3.3.3)
41
+ base64 (0.2.0)
42
+ bcrypt_pbkdf (1.1.1)
43
+ bigdecimal (3.2.2)
44
+ builder (3.3.0)
45
+ childprocess (5.1.0)
46
+ logger (~> 1.5)
47
+ concurrent-ruby (1.3.5)
48
+ csv (3.3.5)
49
+ date (3.4.1)
46
50
  diff-lcs (1.5.0)
47
51
  ed25519 (1.3.0)
48
- erubi (1.12.0)
49
- excon (0.100.0)
50
- ffi (1.15.5)
51
- google-protobuf (3.23.3-arm64-darwin)
52
- google-protobuf (3.23.3-x86_64-darwin)
53
- google-protobuf (3.23.3-x86_64-linux)
54
- googleapis-common-protos-types (1.6.0)
55
- google-protobuf (~> 3.14)
56
- grpc (1.56.0)
57
- google-protobuf (~> 3.23)
58
- googleapis-common-protos-types (~> 1.0)
59
- grpc (1.56.0-x86_64-darwin)
60
- google-protobuf (~> 3.23)
61
- googleapis-common-protos-types (~> 1.0)
62
- grpc (1.56.0-x86_64-linux)
63
- google-protobuf (~> 3.23)
64
- googleapis-common-protos-types (~> 1.0)
52
+ erubi (1.13.1)
53
+ excon (1.2.7)
54
+ logger
55
+ faraday (2.13.1)
56
+ faraday-net_http (>= 2.0, < 3.5)
57
+ json
58
+ logger
59
+ faraday-net_http (3.4.1)
60
+ net-http (>= 0.5.0)
61
+ ffi (1.17.2-x86_64-linux-gnu)
65
62
  gssapi (1.3.1)
66
63
  ffi (>= 1.0.1)
67
64
  gyoku (1.4.0)
68
65
  builder (>= 2.1.2)
69
66
  rexml (~> 3.0)
70
- hashicorp-checkpoint (0.1.5)
71
- httpclient (2.8.3)
72
- i18n (1.14.1)
67
+ hashicorp-checkpoint (0.1.6)
68
+ hashie (5.0.0)
69
+ httpclient (2.9.0)
70
+ mutex_m
71
+ i18n (1.14.7)
73
72
  concurrent-ruby (~> 1.0)
74
- ipaddr (1.2.5)
75
- listen (3.8.0)
73
+ ipaddr (1.2.7)
74
+ json (2.12.2)
75
+ jwt (3.0.0)
76
+ base64
77
+ listen (3.9.0)
76
78
  rb-fsevent (~> 0.10, >= 0.10.3)
77
79
  rb-inotify (~> 0.9, >= 0.9.10)
78
80
  little-plugger (1.1.4)
79
81
  log4r (1.1.10)
80
- logging (2.3.1)
82
+ logger (1.7.0)
83
+ logging (2.4.0)
81
84
  little-plugger (~> 1.1)
82
85
  multi_json (~> 1.14)
83
- mime-types (3.4.1)
84
- mime-types-data (~> 3.2015)
85
- mime-types-data (3.2023.0218.1)
86
+ mime-types (3.7.0)
87
+ logger
88
+ mime-types-data (~> 3.2025, >= 3.2025.0507)
89
+ mime-types-data (3.2025.0617)
86
90
  multi_json (1.15.0)
87
- net-ftp (0.2.0)
91
+ multi_xml (0.7.2)
92
+ bigdecimal (~> 3.1)
93
+ mutex_m (0.3.0)
94
+ net-ftp (0.3.8)
88
95
  net-protocol
89
96
  time
90
- net-protocol (0.2.1)
97
+ net-http (0.6.0)
98
+ uri
99
+ net-protocol (0.2.2)
91
100
  timeout
92
- net-scp (4.0.0)
101
+ net-scp (4.1.0)
93
102
  net-ssh (>= 2.6.5, < 8.0.0)
94
103
  net-sftp (4.0.0)
95
104
  net-ssh (>= 5.0.0, < 8.0.0)
96
- net-ssh (7.1.0)
97
- nori (2.6.0)
98
- pairing_heap (3.0.1)
105
+ net-ssh (7.3.0)
106
+ nori (2.7.1)
107
+ bigdecimal
108
+ oauth2 (2.0.12)
109
+ faraday (>= 0.17.3, < 4.0)
110
+ jwt (>= 1.0, < 4.0)
111
+ logger (~> 1.2)
112
+ multi_xml (~> 0.5)
113
+ rack (>= 1.2, < 4)
114
+ snaky_hash (~> 2.0, >= 2.0.3)
115
+ version_gem (>= 1.1.8, < 3)
116
+ ostruct (0.6.2)
117
+ rack (3.1.16)
99
118
  rake (13.0.6)
100
119
  rb-fsevent (0.11.2)
101
- rb-inotify (0.10.1)
120
+ rb-inotify (0.11.1)
102
121
  ffi (~> 1.0)
103
122
  rb-kqueue (0.2.8)
104
123
  ffi (>= 0.5.0)
105
- rexml (3.2.5)
106
- rgl (0.5.10)
107
- pairing_heap (>= 0.3.0)
108
- rexml (~> 3.2, >= 3.2.4)
109
- stream (~> 0.5.3)
124
+ rexml (3.4.1)
110
125
  rspec (3.12.0)
111
126
  rspec-core (~> 3.12.0)
112
127
  rspec-expectations (~> 3.12.0)
@@ -120,25 +135,32 @@ GEM
120
135
  diff-lcs (>= 1.2.0, < 2.0)
121
136
  rspec-support (~> 3.12.0)
122
137
  rspec-support (3.12.0)
123
- rubyntlm (0.6.3)
138
+ rubyntlm (0.6.5)
139
+ base64
124
140
  rubyzip (2.3.2)
125
- stream (0.5.5)
126
- time (0.2.2)
141
+ snaky_hash (2.0.3)
142
+ hashie (>= 0.1.0, < 6)
143
+ version_gem (>= 1.1.8, < 3)
144
+ time (0.4.1)
127
145
  date
128
- timeout (0.3.2)
129
- vagrant_cloud (3.0.5)
130
- excon (~> 0.73)
131
- log4r (~> 1.1.10)
132
- rexml (~> 3.2.5)
133
- wdm (0.1.1)
134
- winrm (2.3.6)
146
+ timeout (0.4.3)
147
+ uri (1.0.3)
148
+ vagrant_cloud (3.1.3)
149
+ excon (~> 1.0)
150
+ log4r (~> 1.1)
151
+ oauth2 (~> 2.0)
152
+ rexml (~> 3.3)
153
+ version_gem (1.1.8)
154
+ wdm (0.2.0)
155
+ winrm (2.3.9)
135
156
  builder (>= 2.1.2)
136
157
  erubi (~> 1.8)
137
158
  gssapi (~> 1.2)
138
159
  gyoku (~> 1.0)
139
160
  httpclient (~> 2.2, >= 2.2.0.2)
140
161
  logging (>= 1.6.1, < 3.0)
141
- nori (~> 2.0)
162
+ nori (~> 2.0, >= 2.7.1)
163
+ rexml (~> 3.0)
142
164
  rubyntlm (~> 0.6.0, >= 0.6.3)
143
165
  winrm-elevated (1.2.3)
144
166
  erubi (~> 1.8)
@@ -151,12 +173,10 @@ GEM
151
173
  winrm (~> 2.0)
152
174
 
153
175
  PLATFORMS
154
- arm64-darwin-22
155
- x86_64-darwin-20
156
176
  x86_64-linux
157
177
 
158
178
  DEPENDENCIES
159
- rake (~> 13.0)
179
+ rake (>= 13.0)
160
180
  rspec (~> 3.11)
161
181
  vagrant!
162
182
  vagrant-k3s!
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
- require 'multi_json/convertible_hash_keys'
4
3
  require 'vagrant'
5
4
  require 'vagrant/errors'
6
5
  require 'yaml'
@@ -8,7 +7,6 @@ require 'yaml'
8
7
  module VagrantPlugins
9
8
  module K3s
10
9
  class Provisioner < Vagrant.plugin('2', :provisioner)
11
- include MultiJson::ConvertibleHashKeys
12
10
  def initialize(machine,config)
13
11
  super(machine,config)
14
12
  @logger = Log4r::Logger.new("vagrant::provisioners::k3s")
@@ -35,7 +33,7 @@ module VagrantPlugins
35
33
  end
36
34
 
37
35
  cfg_file = config.config_path.to_s
38
- cfg_yaml = config.config.is_a?(String) ? config.config : stringify_keys(config.config).to_yaml
36
+ cfg_yaml = config.config.is_a?(String) ? config.config : config.config.transform_keys(&:to_s).to_yaml
39
37
  file_upload "k3s-config.yaml", cfg_file, cfg_yaml
40
38
 
41
39
  env_file = config.env_path.to_s
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VagrantPlugins
4
4
  module K3s
5
- VERSION = '0.2.1'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,44 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-k3s
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Nola
8
8
  - Jacob Blain Christen
9
- autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2024-02-21 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rake
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - "~>"
19
- - !ruby/object:Gem::Version
20
- version: '13.0'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "~>"
26
- - !ruby/object:Gem::Version
27
- version: '13.0'
28
- - !ruby/object:Gem::Dependency
29
- name: rspec
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - "~>"
33
- - !ruby/object:Gem::Version
34
- version: '3.11'
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '3.11'
11
+ date: 2025-06-20 00:00:00.000000000 Z
12
+ dependencies: []
42
13
  description: Manage k3s installations on Vagrant guests.
43
14
  email:
44
15
  - derek.nola@suse.com
@@ -76,7 +47,6 @@ licenses:
76
47
  metadata:
77
48
  homepage_uri: https://github.com/k3s-io/vagrant-k3s
78
49
  source_code_uri: https://github.com/k3s-io/vagrant-k3s
79
- post_install_message:
80
50
  rdoc_options: []
81
51
  require_paths:
82
52
  - lib
@@ -85,17 +55,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
55
  - - ">="
86
56
  - !ruby/object:Gem::Version
87
57
  version: '2.7'
88
- - - "<"
89
- - !ruby/object:Gem::Version
90
- version: '3.3'
91
58
  required_rubygems_version: !ruby/object:Gem::Requirement
92
59
  requirements:
93
60
  - - ">="
94
61
  - !ruby/object:Gem::Version
95
- version: 1.3.6
62
+ version: 3.0.0
96
63
  requirements: []
97
- rubygems_version: 3.3.5
98
- signing_key:
64
+ rubygems_version: 3.6.3
99
65
  specification_version: 4
100
66
  summary: Manage k3s installations on Vagrant guests.
101
67
  test_files: []