Skip to content
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

:install only unpack at chef run end #148

Closed
aileo opened this issue May 12, 2016 · 1 comment
Closed

:install only unpack at chef run end #148

aileo opened this issue May 12, 2016 · 1 comment

Comments

@aileo
Copy link

aileo commented May 12, 2016

Hello,

I am using ark resource to install some binaries then use them later in the recipe. Unfortunately, it seems the unpack action is only notified so it only occurs at the end of the chef run.

Is there a way to force ark to unzip right after the download ? Or should i add test to my recipe, checking binaries existancy and run the recipe twice (one run to install and one run to execute) ?

I suppose this is related to the #100 somehow.

example :

# install myapp
ark 'myapp' do 
  url 'http://myapp.app/myapp.zip'
end

# using myapp, will fail as app.js is not unpacked allready.
bash 'using my app'
  code <<-EOH
  myapp
  EOH
end
@cheeseplus
Copy link

This shouldn't be the case but given the age and lack of detail (chef-client, cookbook versions) we're closing this one but do please open a new issue if this issue still exists.

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

No branches or pull requests

2 participants