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.
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.