vagrant-k3s 0.1.0 → 0.1.4.dev.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -0
  3. data/Gemfile.lock +6 -6
  4. data/README.md +17 -10
  5. data/lib/vagrant-k3s/cap/linux/k3s_installed.rb +3 -6
  6. data/lib/vagrant-k3s/cap/linux/k3s_kubectl.rb +23 -0
  7. data/lib/vagrant-k3s/config.rb +36 -6
  8. data/lib/vagrant-k3s/plugin.rb +5 -0
  9. data/lib/vagrant-k3s/provisioner.rb +38 -33
  10. data/lib/vagrant-k3s/version.rb +1 -1
  11. metadata +3 -44
  12. data/vendor/cache/bcrypt_pbkdf-1.1.0.gem +0 -0
  13. data/vendor/cache/builder-3.2.4.gem +0 -0
  14. data/vendor/cache/childprocess-4.1.0.gem +0 -0
  15. data/vendor/cache/concurrent-ruby-1.1.9.gem +0 -0
  16. data/vendor/cache/diff-lcs-1.4.4.gem +0 -0
  17. data/vendor/cache/ed25519-1.2.4.gem +0 -0
  18. data/vendor/cache/erubi-1.10.0.gem +0 -0
  19. data/vendor/cache/excon-0.86.0.gem +0 -0
  20. data/vendor/cache/ffi-1.15.4.gem +0 -0
  21. data/vendor/cache/gssapi-1.3.1.gem +0 -0
  22. data/vendor/cache/gyoku-1.3.1.gem +0 -0
  23. data/vendor/cache/hashicorp-checkpoint-0.1.5.gem +0 -0
  24. data/vendor/cache/httpclient-2.8.3.gem +0 -0
  25. data/vendor/cache/i18n-1.8.10.gem +0 -0
  26. data/vendor/cache/listen-3.7.0.gem +0 -0
  27. data/vendor/cache/little-plugger-1.1.4.gem +0 -0
  28. data/vendor/cache/log4r-1.1.10.gem +0 -0
  29. data/vendor/cache/logging-2.3.0.gem +0 -0
  30. data/vendor/cache/mime-types-3.3.1.gem +0 -0
  31. data/vendor/cache/mime-types-data-3.2021.0901.gem +0 -0
  32. data/vendor/cache/multi_json-1.15.0.gem +0 -0
  33. data/vendor/cache/net-scp-3.0.0.gem +0 -0
  34. data/vendor/cache/net-sftp-3.0.0.gem +0 -0
  35. data/vendor/cache/net-ssh-6.1.0.gem +0 -0
  36. data/vendor/cache/nori-2.6.0.gem +0 -0
  37. data/vendor/cache/rake-13.0.6.gem +0 -0
  38. data/vendor/cache/rb-fsevent-0.11.0.gem +0 -0
  39. data/vendor/cache/rb-inotify-0.10.1.gem +0 -0
  40. data/vendor/cache/rb-kqueue-0.2.7.gem +0 -0
  41. data/vendor/cache/rexml-3.2.5.gem +0 -0
  42. data/vendor/cache/rspec-3.10.0.gem +0 -0
  43. data/vendor/cache/rspec-core-3.10.1.gem +0 -0
  44. data/vendor/cache/rspec-expectations-3.10.1.gem +0 -0
  45. data/vendor/cache/rspec-mocks-3.10.2.gem +0 -0
  46. data/vendor/cache/rspec-support-3.10.2.gem +0 -0
  47. data/vendor/cache/rubyntlm-0.6.3.gem +0 -0
  48. data/vendor/cache/rubyzip-2.3.2.gem +0 -0
  49. data/vendor/cache/vagrant_cloud-3.0.5.gem +0 -0
  50. data/vendor/cache/wdm-0.1.1.gem +0 -0
  51. data/vendor/cache/winrm-2.3.6.gem +0 -0
  52. data/vendor/cache/winrm-elevated-1.2.3.gem +0 -0
  53. data/vendor/cache/winrm-fs-1.3.5.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd1b65180a6f4e983ce1564c7559dd232bcff76be269e50b6157920b083d5aa2
4
- data.tar.gz: 5d8797d4a6383c0c627c2e76247a8b34eddbe2766a2aca32e339a5f9b77291b8
3
+ metadata.gz: 00ca7014365cb6c5c35f8ed43d8d2dbc92a091e87435d4db3a02521561fc6946
4
+ data.tar.gz: fe75bb00f31e7b82b94db3a3353733e96b4b2c5bbf5c02dd5c36e8d04022490c
5
5
  SHA512:
6
- metadata.gz: aaa47b130e4074c457811895f8069804020c4daa095f9aa61f972fadf700e92f034e9d9ba62a762e004b7a0b78b0d57fa363234f3fafacc7fd2cd2fc13085756
7
- data.tar.gz: 1e770cd6237a909d563e365d493e034d53c0e81d2bb7f0fd14c1d046a8a5e99d4c443565d200c26f8a4cdf659ff51b91861b59e1580e32846e13abc0a40f1fc1
6
+ metadata.gz: aa3bae13f3cbafedd8e7c8ab9f9d8dcc81f127e8abc9bc0df27b71fd3764e491f9929f2961caaebbb4284589079741ab86397915178da8efa8037b441f2a2cd0
7
+ data.tar.gz: d3efba057d5e2543e7dc671095923559d58896bfd5b67fe68129ebe70670a01887ab06ce74f44adfdd12cfb0de8055259646ef2d5feb6e495c53c46cfc876f05
data/Gemfile CHANGED
@@ -8,4 +8,8 @@ end
8
8
 
9
9
  group :plugins do
10
10
  gemspec
11
+ # gem "vagrant-libvirt"
12
+ # gem "vagrant-reload"
13
+ # gem "vagrant-timezone"
14
+ # gem "vagrant-vmware-desktop"
11
15
  end
data/Gemfile.lock CHANGED
@@ -28,7 +28,7 @@ GIT
28
28
  PATH
29
29
  remote: .
30
30
  specs:
31
- vagrant-k3s (0.1.0)
31
+ vagrant-k3s (0.1.4.dev.1)
32
32
 
33
33
  GEM
34
34
  remote: https://rubygems.org/
@@ -40,7 +40,7 @@ GEM
40
40
  diff-lcs (1.4.4)
41
41
  ed25519 (1.2.4)
42
42
  erubi (1.10.0)
43
- excon (0.86.0)
43
+ excon (0.88.0)
44
44
  ffi (1.15.4)
45
45
  gssapi (1.3.1)
46
46
  ffi (>= 1.0.1)
@@ -48,7 +48,7 @@ GEM
48
48
  builder (>= 2.1.2)
49
49
  hashicorp-checkpoint (0.1.5)
50
50
  httpclient (2.8.3)
51
- i18n (1.8.10)
51
+ i18n (1.8.11)
52
52
  concurrent-ruby (~> 1.0)
53
53
  listen (3.7.0)
54
54
  rb-fsevent (~> 0.10, >= 0.10.3)
@@ -58,9 +58,9 @@ GEM
58
58
  logging (2.3.0)
59
59
  little-plugger (~> 1.1)
60
60
  multi_json (~> 1.14)
61
- mime-types (3.3.1)
61
+ mime-types (3.4.1)
62
62
  mime-types-data (~> 3.2015)
63
- mime-types-data (3.2021.0901)
63
+ mime-types-data (3.2021.1115)
64
64
  multi_json (1.15.0)
65
65
  net-scp (3.0.0)
66
66
  net-ssh (>= 2.6.5, < 7.0.0)
@@ -87,7 +87,7 @@ GEM
87
87
  rspec-mocks (3.10.2)
88
88
  diff-lcs (>= 1.2.0, < 2.0)
89
89
  rspec-support (~> 3.10.0)
90
- rspec-support (3.10.2)
90
+ rspec-support (3.10.3)
91
91
  rubyntlm (0.6.3)
92
92
  rubyzip (2.3.2)
93
93
  vagrant_cloud (3.0.5)
data/README.md CHANGED
@@ -11,8 +11,8 @@ vagrant up --provider=<your favorite provider>
11
11
 
12
12
  ```ruby
13
13
  Vagrant.configure("2") do |config|
14
- config.vm.box = "centos/stream8"
15
- config.vm.provision :k3s do |k3s|
14
+ config.vm.box = "dweomer/centos-8.4-amd64"
15
+ config.vm.provision :k3s, run: "once" do |k3s|
16
16
  # installer_url: can be anything that curl can access from the guest
17
17
  # default =>`https://get.k3s.io`
18
18
  # type => String
@@ -21,27 +21,29 @@ Vagrant.configure("2") do |config|
21
21
  # args: are command line arguments to be passed to the shell, e.g.:
22
22
  # `curl ... | sh -s - #{args}`
23
23
  # type => String || Array<string>
24
- k3s.args = "server --token=vagrant"
24
+ k3s.args = "server --selinux"
25
25
  # or
26
- k3s.args = %w[server --token=vagrant]
26
+ k3s.args = %w[server --selinux]
27
27
 
28
28
  # env: environment variables to be set before invoking the installer script
29
29
  # type => String || Array<String> || Hash
30
- k3s.env = %w[K3S_KUBECONFIG_MODE=0640 K3S_SELINUX=true]
30
+ k3s.env = %w[K3S_KUBECONFIG_MODE=0644 K3S_TOKEN=vagrant]
31
31
  # or
32
- k3s.env = {
32
+ k3s.env = ENV.select{|k| k.start_with?('K3S_') || k.start_with?('INSTALL_K3S_')}.merge({
33
33
  :K3S_KUBECONFIG_MODE => '0640', # pass this as a string unless you like weird results in your guest ...
34
34
  :K3S_SELINUX => true,
35
- }
35
+ })
36
36
  # or
37
37
  k3s.env = <<~ENV
38
38
  K3S_KUBECONFIG_MODE=0640
39
39
  K3S_SELINUX=true
40
40
  ENV
41
41
 
42
- # env_path: where to write the envvars to be source prior to invoking the installer script
42
+ # env_path: where to write the envvars to be sourced prior to invoking the installer script
43
43
  # default => `/etc/rancher/k3s/install.env`
44
44
  k3s.env_path = '/etc/rancher/k3s/install.env'
45
+ k3s.env_mode = '0600' # default
46
+ k3s.env_owner = 'root:root' #default
45
47
 
46
48
  # config: config file content in yaml
47
49
  # type => String || Hash
@@ -54,14 +56,19 @@ Vagrant.configure("2") do |config|
54
56
  - local-storage
55
57
  - servicelb
56
58
  YAML
59
+ # config_mode: config file permissions
60
+ # type => String
61
+ # default => `0600`
62
+ k3s.config_mode = '0644' # side-step https://github.com/k3s-io/k3s/issues/4321
63
+ k3s.config_owner = 'root:root' #default
57
64
 
58
65
  # config_path: where to write the config yaml.
59
66
  # if you override this be sure to let k3s know, e.g.
60
67
  # k3s.env = { :INSTALL_K3S_EXEC => '--config=/some/other/config.yaml' }
61
68
  # or
62
69
  # k3s.args = '--config=/some/other/config.yaml'
63
- # default => `/etc/rancher/k3s/conf.yaml`
64
- k3s.config_path = '/etc/rancher/k3s/conf.yaml'
70
+ # default => `/etc/rancher/k3s/config.yaml`
71
+ k3s.config_path = '/etc/rancher/k3s/config.yaml'
65
72
  end
66
73
  end
67
74
 
@@ -5,13 +5,10 @@ module VagrantPlugins
5
5
  module Cap
6
6
  module Linux
7
7
  module K3sInstalled
8
- # Check if K3s is installed at the given version.
8
+ # Check if K3s is installed.
9
9
  # @return [true, false]
10
- def self.k3s_installed(machine, k3s="k3s")
11
- machine.communicate.execute("/usr/bin/which k3s") do |type, data|
12
- k3s = data.to_s if type == :stdout
13
- end
14
- machine.communicate.test("#{k3s} --version", sudo: true)
10
+ def self.k3s_installed(machine)
11
+ machine.communicate.test("which k3s", sudo: true)
15
12
  end
16
13
  end
17
14
  end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module VagrantPlugins
4
+ module K3s
5
+ module Cap
6
+ module Linux
7
+ module K3sKubectl
8
+ def self.k3s_kubectl(machine,*args)
9
+ cmd = "k3s kubectl #{args.join(' ')}"
10
+ machine.ui.info cmd
11
+ begin
12
+ machine.communicate.execute(cmd) do |type, data|
13
+ machine.ui.detail data.chomp, :color => type == :stderr ? :red : :green
14
+ end
15
+ rescue Vagrant::Errors::VagrantError
16
+ return 0
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -3,19 +3,33 @@
3
3
  module VagrantPlugins
4
4
  module K3s
5
5
  class Config < Vagrant.plugin(2, :config)
6
- DEFAULT_CONFIG_PATH = "/etc/rancher/k3s/conf.yaml".freeze
7
- DEFAULT_ENV_PATH = "/etc/rancher/k3s/install.env".freeze
8
- DEFAULT_INSTALLER_URL = "https://get.k3s.io".freeze
6
+ DEFAULT_FILE_MODE = '0600'
7
+ DEFAULT_FILE_OWNER = 'root:root'
8
+ DEFAULT_CONFIG_MODE = DEFAULT_FILE_MODE
9
+ DEFAULT_CONFIG_OWNER = DEFAULT_FILE_OWNER
10
+ DEFAULT_CONFIG_PATH = '/etc/rancher/k3s/config.yaml'
11
+ DEFAULT_ENV_MODE = DEFAULT_FILE_MODE
12
+ DEFAULT_ENV_OWNER = DEFAULT_FILE_OWNER
13
+ DEFAULT_ENV_PATH = '/etc/rancher/k3s/install.env'
14
+ DEFAULT_INSTALLER_URL = 'https://get.k3s.io'
9
15
 
10
16
  # string or array
11
- # @return [Array<String]
17
+ # @return [Array<String>]
12
18
  attr_accessor :args
13
19
 
14
20
  # string (.yaml) or hash
15
21
  # @return [Hash]
16
22
  attr_accessor :config
17
23
 
18
- # Defaults to `/etc/rancher/k3s/conf.yaml`
24
+ # Defaults to `0600`
25
+ # @return [String]
26
+ attr_accessor :config_mode
27
+
28
+ # Defaults to `root:root`
29
+ # @return [String]
30
+ attr_accessor :config_owner
31
+
32
+ # Defaults to `/etc/rancher/k3s/config.yaml`
19
33
  # @return [String]
20
34
  attr_accessor :config_path
21
35
 
@@ -23,6 +37,14 @@ module VagrantPlugins
23
37
  # @return [Array<String>]
24
38
  attr_accessor :env
25
39
 
40
+ # Defaults to `0600`
41
+ # @return [String]
42
+ attr_accessor :env_mode
43
+
44
+ # Defaults to `root:root`
45
+ # @return [String]
46
+ attr_accessor :env_owner
47
+
26
48
  # Defaults to `/etc/rancher/k3s/install.env`
27
49
  # @return [String]
28
50
  attr_accessor :env_path
@@ -74,8 +96,12 @@ module VagrantPlugins
74
96
  def initialize
75
97
  @args = UNSET_VALUE
76
98
  @config = UNSET_VALUE
99
+ @config_mode = UNSET_VALUE
100
+ @config_owner = UNSET_VALUE
77
101
  @config_path = UNSET_VALUE
78
102
  @env = UNSET_VALUE
103
+ @env_mode = UNSET_VALUE
104
+ @env_owner = UNSET_VALUE
79
105
  @env_path = UNSET_VALUE
80
106
  @installer_url = UNSET_VALUE
81
107
  end
@@ -83,8 +109,12 @@ module VagrantPlugins
83
109
  def finalize!
84
110
  @args = [] if @args == UNSET_VALUE
85
111
  @config = "" if @config == UNSET_VALUE
86
- @config_path = DEFAULT_CONFIG_PATH if @config_path == UNSET_VALUE
112
+ @config_mode = @config_mode == UNSET_VALUE ? DEFAULT_CONFIG_MODE : @config_mode.to_s
113
+ @config_owner = @config_owner == UNSET_VALUE ? DEFAULT_CONFIG_OWNER : @config_owner.to_s
114
+ @config_path = @config_path == UNSET_VALUE ? DEFAULT_CONFIG_PATH : @config_path.to_s
87
115
  @env = [] if @env == UNSET_VALUE
116
+ @env_mode = DEFAULT_ENV_MODE if @env_mode == UNSET_VALUE
117
+ @env_owner = DEFAULT_ENV_OWNER if @env_owner == UNSET_VALUE
88
118
  @env_path = DEFAULT_ENV_PATH if @env_path == UNSET_VALUE
89
119
  @installer_url = DEFAULT_INSTALLER_URL if @installer_url == UNSET_VALUE
90
120
 
@@ -28,6 +28,11 @@ module VagrantPlugins
28
28
  Cap::Linux::K3sInstalled
29
29
  end
30
30
 
31
+ guest_capability(:linux, :k3s_kubectl) do
32
+ require_relative "cap/linux/k3s_kubectl"
33
+ Cap::Linux::K3sKubectl
34
+ end
35
+
31
36
  guest_capability(:linux, :curl_installed) do
32
37
  require_relative "cap/linux/curl_installed"
33
38
  Cap::Linux::CurlInstalled
@@ -14,11 +14,11 @@ module VagrantPlugins
14
14
  @logger = Log4r::Logger.new("vagrant::provisioners::k3s")
15
15
  end
16
16
 
17
- def configure(root_config)
18
- end
17
+ # def configure(root)
18
+ # end
19
19
 
20
- def cleanup
21
- end
20
+ # def cleanup
21
+ # end
22
22
 
23
23
  def provision
24
24
  args = ""
@@ -29,53 +29,55 @@ module VagrantPlugins
29
29
  args = " #{args.join(" ")}"
30
30
  end
31
31
 
32
- @machine.ui.info 'Ensuring cURL ...'
33
32
  unless @machine.guest.capability(:curl_installed)
33
+ @machine.ui.info 'Installing Curl ...'
34
34
  @machine.guest.capability(:curl_install)
35
35
  end
36
36
 
37
- @machine.ui.info 'Installing K3s ...'
38
- config_file = config.config_path.to_s
39
- config_yaml = config.config.is_a?(String) ? config.config : stringify_keys(config.config).to_yaml
40
- with_file_upload "k3s-config.yaml".freeze, config_file, config_yaml
37
+ cfg_file = config.config_path.to_s
38
+ cfg_yaml = config.config.is_a?(String) ? config.config : stringify_keys(config.config).to_yaml
39
+ file_upload "k3s-config.yaml", cfg_file, cfg_yaml
41
40
 
42
- install_env_file = config.env_path.to_s
43
- install_env_text = ""
41
+ env_file = config.env_path.to_s
42
+ env_text = ""
44
43
  if config.env.is_a?(String)
45
- install_env_text = config.env.to_s
44
+ env_text = config.env.to_s
46
45
  end
47
46
  if config.env.is_a?(Array)
48
- config.env.each {|line| install_env_text << "#{line.to_s}\n"}
47
+ config.env.each {|line| env_text << "#{line.to_s}\n"}
49
48
  end
50
49
  if config.env.is_a?(Hash)
51
- config.env.each {|key,value| install_env_text << "#{key.to_s}=#{quote_and_escape(value.to_s)}\n"}
50
+ config.env.each {|key,value| env_text << "#{key.to_s}=#{quote_and_escape(value.to_s)}\n"}
52
51
  end
53
- with_file_upload "k3s-install.env".freeze, install_env_file, install_env_text
52
+ file_upload "k3s-install.env", env_file, env_text
54
53
 
55
- install_sh = "/tmp/vagrant-k3s-provisioner-install.sh".freeze
56
- with_file_upload "k3s-install.sh", install_sh, <<~EOF
54
+ prv_file = "/vagrant/k3s-provisioner.sh"
55
+ prv_text = <<~EOF
57
56
  #/usr/bin/env bash
58
57
  set -eu -o pipefail
59
- mkdir -p $(dirname #{config.config_path}) $(dirname #{config.env_path})
60
- chown root:root #{config.config_path} #{config.env_path}
58
+ chown #{config.config_owner} #{config.config_path}
59
+ chmod #{config.config_mode} #{config.config_path}
60
+ chown #{config.env_owner} #{config.env_path}
61
+ chmod #{config.env_mode} #{config.env_path}
61
62
  set -o allexport
62
63
  source #{config.env_path}
63
64
  set +o allexport
64
- curl -fsL #{config.installer_url} | sh -s - #{args}
65
+ curl -fsL '#{config.installer_url}' | sh -s - #{args}
65
66
  EOF
67
+ file_upload("k3s-install.sh", prv_file, prv_text)
68
+ @machine.ui.info "Invoking: #{prv_file}"
69
+
66
70
  outputs, handler = build_outputs
67
71
  begin
68
- @machine.communicate.sudo("sh #{install_sh}", error_key: :ssh_bad_exit_status_muted, &handler)
72
+ @machine.communicate.sudo("chmod +x #{prv_file} && #{prv_file}", error_key: :ssh_bad_exit_status_muted, &handler)
69
73
  ensure
70
74
  outputs.values.map(&:close)
71
75
  end
72
76
 
73
- @machine.guest.capability(:k3s_installed)
74
-
75
77
  begin
76
78
  exe = "k3s"
77
79
  @machine.ui.info 'Checking the K3s version ...'
78
- @machine.communicate.execute("/usr/bin/which k3s", :error_key => :ssh_bad_exit_status_muted) do |type, data|
80
+ @machine.communicate.execute("which k3s", :error_key => :ssh_bad_exit_status_muted) do |type, data|
79
81
  exe = data.chomp if type == :stdout
80
82
  end
81
83
  rescue Vagrant::Errors::VagrantError => e
@@ -83,7 +85,7 @@ module VagrantPlugins
83
85
  else
84
86
  outputs, handler = build_outputs
85
87
  begin
86
- @machine.communicate.execute("#{exe} --version", :error_key => :ssh_bad_exit_status_muted, &handler)
88
+ @machine.communicate.sudo("#{exe} --version", :error_key => :ssh_bad_exit_status_muted, &handler)
87
89
  ensure
88
90
  outputs.values.map(&:close)
89
91
  end
@@ -112,7 +114,7 @@ module VagrantPlugins
112
114
  end
113
115
  end
114
116
 
115
- def with_file(name='vagrant-k3s-provisioner', content)
117
+ def with_file(name, content)
116
118
  file = Tempfile.new([name])
117
119
  file.binmode
118
120
  begin
@@ -126,14 +128,17 @@ module VagrantPlugins
126
128
  end
127
129
  end
128
130
 
129
- def with_file_upload(name='vagrant-k3s-provisioner', to, content)
130
- with_file(name, content) do |from|
131
- tmpdir = @machine.guest.capability :create_tmp_path, {:type => :directory}
132
- tmpfile = [tmpdir, File.basename(to)].join('/')
133
- @machine.communicate.upload(from, tmpfile)
134
- @machine.communicate.sudo("mv -f #{tmpfile} #{to}")
131
+ def file_upload(local_file, remote_path, content)
132
+ with_file(local_file, content) do |local_path|
133
+ remote_tmp_dir = @machine.guest.capability :create_tmp_path, {:type => :directory}
134
+ remote_tmp_path = [remote_tmp_dir, File.basename(remote_path)].join('/')
135
+ @machine.communicate.upload(local_path, remote_tmp_path)
136
+ @machine.communicate.sudo("install -v -DTZ #{remote_tmp_path} #{remote_path}") do |type, line|
137
+ @machine.ui.info line.chomp, :color => {:stderr => :red, :stdout => :default}[type]
138
+ end
135
139
  end
136
- to
140
+ @machine.ui.detail content.chomp, :color => :yellow
141
+ remote_path
137
142
  end
138
143
 
139
144
  def quote_and_escape(text, quote = '"')
@@ -2,6 +2,6 @@
2
2
 
3
3
  module VagrantPlugins
4
4
  module K3s
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.4.dev.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-k3s
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.4.dev.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Blain Christen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-04 00:00:00.000000000 Z
11
+ date: 2021-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -59,6 +59,7 @@ files:
59
59
  - lib/vagrant-k3s/cap/debian/curl_install.rb
60
60
  - lib/vagrant-k3s/cap/linux/curl_installed.rb
61
61
  - lib/vagrant-k3s/cap/linux/k3s_installed.rb
62
+ - lib/vagrant-k3s/cap/linux/k3s_kubectl.rb
62
63
  - lib/vagrant-k3s/cap/redhat/curl_install.rb
63
64
  - lib/vagrant-k3s/cap/suse/curl_install.rb
64
65
  - lib/vagrant-k3s/command.rb
@@ -68,48 +69,6 @@ files:
68
69
  - lib/vagrant-k3s/provisioner.rb
69
70
  - lib/vagrant-k3s/version.rb
70
71
  - vagrant-k3s.gemspec
71
- - vendor/cache/bcrypt_pbkdf-1.1.0.gem
72
- - vendor/cache/builder-3.2.4.gem
73
- - vendor/cache/childprocess-4.1.0.gem
74
- - vendor/cache/concurrent-ruby-1.1.9.gem
75
- - vendor/cache/diff-lcs-1.4.4.gem
76
- - vendor/cache/ed25519-1.2.4.gem
77
- - vendor/cache/erubi-1.10.0.gem
78
- - vendor/cache/excon-0.86.0.gem
79
- - vendor/cache/ffi-1.15.4.gem
80
- - vendor/cache/gssapi-1.3.1.gem
81
- - vendor/cache/gyoku-1.3.1.gem
82
- - vendor/cache/hashicorp-checkpoint-0.1.5.gem
83
- - vendor/cache/httpclient-2.8.3.gem
84
- - vendor/cache/i18n-1.8.10.gem
85
- - vendor/cache/listen-3.7.0.gem
86
- - vendor/cache/little-plugger-1.1.4.gem
87
- - vendor/cache/log4r-1.1.10.gem
88
- - vendor/cache/logging-2.3.0.gem
89
- - vendor/cache/mime-types-3.3.1.gem
90
- - vendor/cache/mime-types-data-3.2021.0901.gem
91
- - vendor/cache/multi_json-1.15.0.gem
92
- - vendor/cache/net-scp-3.0.0.gem
93
- - vendor/cache/net-sftp-3.0.0.gem
94
- - vendor/cache/net-ssh-6.1.0.gem
95
- - vendor/cache/nori-2.6.0.gem
96
- - vendor/cache/rake-13.0.6.gem
97
- - vendor/cache/rb-fsevent-0.11.0.gem
98
- - vendor/cache/rb-inotify-0.10.1.gem
99
- - vendor/cache/rb-kqueue-0.2.7.gem
100
- - vendor/cache/rexml-3.2.5.gem
101
- - vendor/cache/rspec-3.10.0.gem
102
- - vendor/cache/rspec-core-3.10.1.gem
103
- - vendor/cache/rspec-expectations-3.10.1.gem
104
- - vendor/cache/rspec-mocks-3.10.2.gem
105
- - vendor/cache/rspec-support-3.10.2.gem
106
- - vendor/cache/rubyntlm-0.6.3.gem
107
- - vendor/cache/rubyzip-2.3.2.gem
108
- - vendor/cache/vagrant_cloud-3.0.5.gem
109
- - vendor/cache/wdm-0.1.1.gem
110
- - vendor/cache/winrm-2.3.6.gem
111
- - vendor/cache/winrm-elevated-1.2.3.gem
112
- - vendor/cache/winrm-fs-1.3.5.gem
113
72
  homepage: https://github.com/dweomer/vagrant-k3s
114
73
  licenses:
115
74
  - Apache 2.0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file