Skip to content

Commit

Permalink
fix a dumb bug: testing, how does it work?
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Blain Christen <[email protected]>
  • Loading branch information
dweomer committed Oct 5, 2021
1 parent c310093 commit fc21cbf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ source 'https://rubygems.org'

group :development do
gem 'vagrant', git: 'https://github.com/hashicorp/vagrant.git', tag: "v2.2.18"
# gem "vagrant-libvirt"
# gem "vagrant-reload"
# gem "vagrant-timezone"
# gem "vagrant-vmware-desktop"
end

group :plugins do
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ GIT
PATH
remote: .
specs:
vagrant-k3s (0.1.0)
vagrant-k3s (0.1.1)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant-k3s/provisioner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def with_file_upload(name='vagrant-k3s-provisioner', to, content)
tmpdir = @machine.guest.capability :create_tmp_path, {:type => :directory}
tmpfile = [tmpdir, File.basename(to)].join('/')
@machine.communicate.upload(from, tmpfile)
@machine.communicate.sudo("mv -f #{tmpfile} #{to}")
@machine.communicate.sudo("mkdir -p #{File.dirname(to)} && mv -f #{tmpfile} #{to}")
end
to
end
Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant-k3s/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module VagrantPlugins
module K3s
VERSION = '0.1.0'
VERSION = '0.1.1'
end
end

0 comments on commit fc21cbf

Please sign in to comment.