You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to include this cookbook inside my test kitchen, which is installing on top of ubuntu15.04 vagrant image. Eventually this would be part of a bootstrap to a ubuntu openstack server so I can run my system tests automated as part of my CICD process. I have added this to my .kitchen.yml to be able to install the 0.6.0 version of gauge:
include_recipe 'gauge'
gauge_plugin 'python' do
user 'gauge'
group 'gauge'
version '0.1.5'
end
Now, when I converge this on a freshly created test kitchen ('kitchen destroy'/'kitchen create'/'kitchen converge') I receive an exception at the point it wants to install the python plugin:
What's strange, is that if I simply re-run 'kitchen converge' it installs the python plugin successfully. The nil is set in the 'existing_plugin_version' method when it can't get the HOME environment variable set properly. So it seems there's a dependency between this cookbook and the step previously that if done in the same pass, results in a failure, but done on separate passes, works great.
The text was updated successfully, but these errors were encountered:
I am trying to include this cookbook inside my test kitchen, which is installing on top of ubuntu15.04 vagrant image. Eventually this would be part of a bootstrap to a ubuntu openstack server so I can run my system tests automated as part of my CICD process. I have added this to my .kitchen.yml to be able to install the 0.6.0 version of gauge:
My metadata.rb includes this:
My recipe.rb includes this:
Now, when I converge this on a freshly created test kitchen ('kitchen destroy'/'kitchen create'/'kitchen converge') I receive an exception at the point it wants to install the python plugin:
What's strange, is that if I simply re-run 'kitchen converge' it installs the python plugin successfully. The nil is set in the 'existing_plugin_version' method when it can't get the HOME environment variable set properly. So it seems there's a dependency between this cookbook and the step previously that if done in the same pass, results in a failure, but done on separate passes, works great.
The text was updated successfully, but these errors were encountered: