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

How to download the file inside a directory #84

Open
souravbiswas opened this issue May 3, 2017 · 0 comments
Open

How to download the file inside a directory #84

souravbiswas opened this issue May 3, 2017 · 0 comments

Comments

@souravbiswas
Copy link

souravbiswas commented May 3, 2017

Hi there,

My requirement is that I have a URL location of a directory inside which there is a package which I need to download. The trouble is that the package name changes due to versioning. So, all I have is the directory location to download the file. I tried various methods to download the package inside the URL location but have not been successful. So need help.

The wget in my site.pp looks like -

wget::fetch { 'study-war':
source => 'http://car-build-001.com:8080/jenkins/job/Study/ws/dist',
destination => '/home/souravb/study/',
user => 'uname',
password => 'password',
timeout => 0,
verbose => false,
}

The package is inside the location http://car-build-001.com:8080/jenkins/job/Study/ws/dist.

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

1 participant