Skip to content

How to download the file inside a directory #84

@souravbiswas

Description

@souravbiswas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions