Skip to content

::Itamae::Runner need options[:tmp_dir] #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mmurasawa
Copy link

@mmurasawa mmurasawa commented May 21, 2021

What

fix for itamae-kitchen/itamae@2e4ee5a
after itamae v1.12.0

How

vagrant-itamae exec ::Itamae::Runner with options[:tmp_dir]

Why

in vagrant provision using vagrant-itamae, these exception occured without this patch.

	  7: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/vagrant-itamae-0.2.1/lib/vagrant-itamae/provisioner.rb:19:in `provision'
	  6: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/runner.rb:11:in `run'
	  5: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/runner.rb:11:in `new'
	  4: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/runner.rb:37:in `initialize'
	  3: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/backend.rb:49:in `run_command'
	  2: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/backend.rb:178:in `build_command'
	  1: from /home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/backend.rb:178:in `map'
/home/murasawa/.vagrant.d/gems/2.6.6/gems/itamae-1.12.1/lib/itamae/backend.rb:179:in `block in build_command': undefined method `shellescape' for nil:NilClass (NoMethodError)

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant