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

artifact_file 'path' argument is not functionnal #122

Closed
BarthV opened this issue Mar 14, 2014 · 3 comments
Closed

artifact_file 'path' argument is not functionnal #122

BarthV opened this issue Mar 14, 2014 · 3 comments

Comments

@BarthV
Copy link
Contributor

BarthV commented Mar 14, 2014

Hi !
This is working :

artifact_file '/tmp/test-1.3.175.jar' do
  location 'com.test:test:jar:1.3.175'
  nexus_configuration nexus_conn
  owner 'root'
  group 'root'
end

This is not :

artifact_file 'test jar' do
  path '/tmp/test-1.3.175.jar'
  location 'com.test:test:jar:1.3.175'
  nexus_configuration nexus_conn
  owner 'root'
  group 'root'
end

artifact_file LWRP seems to totally ignore path option (path doesn't seems to be mentionned once in the provider code).
Tell me if you want me to dive a bit into file.rb provider file, and sumbit a fix.

@KAllan357
Copy link
Contributor

I think originally this was written with the name attribute being the important attribute. I am okay with adding in a path attribute, I will take a look at the pull.

@BarthV
Copy link
Contributor Author

BarthV commented Mar 14, 2014

According to resource file and cookbook readme, path attr is already present and available.
It's not really an addition for me .. Only a very simple fix :)

@BarthV
Copy link
Contributor Author

BarthV commented Apr 7, 2014

closing this one, some merged PR fixed this.

@BarthV BarthV closed this as completed Apr 7, 2014
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