neillturner / kitchen-verifier-serverspec

A Test Kitchen Serverspec Verifer without having to transit the Busser layer
Other
39 stars 19 forks source link

ERROR: Default path '/tmp/kitchen' does not exist #11

Closed wtanaka closed 8 years ago

wtanaka commented 8 years ago

/tmp/kitchen does not seem to exist in every case:

https://travis-ci.org/wtanaka/ansible-roles/jobs/138792815

wtanaka commented 8 years ago

This works around the issue:

  additional_install_command: mkdir -p /tmp/kitchen
neillturner commented 8 years ago

that is designed in as i guess it is assume it should be their from early steps by i think it might be betterif we change it from: if [ -d #{config[:default_path]} ]; then cd #{config[:default_path]} RSPEC_CMD=#{rspec_bash_cmd} echo $RSPEC_CMD

{rspec_commands}

 #{remove_default_path}

else echo "ERROR: Default path '#{config[:default_path]}' does not exist" exit 1 fi to mkdir -p #{config[:default_path]} cd #{config[:default_path]} RSPEC_CMD=#{rspec_bash_cmd} echo $RSPEC_CMD

{rspec_commands}

 #{remove_default_path}  
neillturner commented 8 years ago

closed in version 0.5.2