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

:put action ignores version when composing cached file name. #158

Open
deadmoto opened this issue Jul 11, 2016 · 0 comments
Open

:put action ignores version when composing cached file name. #158

deadmoto opened this issue Jul 11, 2016 · 0 comments

Comments

@deadmoto
Copy link

We are using ark to deploy Android SDK packages on Chef nodes.
When we define these two resources, ark keeps storing the files in cache folder under the same name 'm2repository.zip' that causes it to re-download the files every time:

ark 'android/m2repository' do
  action :put
  name 'm2repository'
  path '/opt/android/extras/android'
  url 'https://dl.google.com/android/repository/android_m2repository_r33.zip'
  version 'android'
end

ark 'google/m2repository' do
  action :put
  name 'm2repository'
  path '/opt/android/extras/google'
  url 'https://dl.google.com/android/repository/google_m2repository_r29.zip'
  version 'google'
end

Is there any way to override this behavior nicely?

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

3 participants