Closed gregorskii closed 5 years ago
It could! Pull requests are welcome 😄
This can already work this way, the download url for the ark
resources that grabs & unpacks the archive looks like this:
"#{new_resource.mirror}/zookeeper-#{new_resource.version}/zookeeper-#{new_resource.version}.tar.gz"
So you simply need to structure the URL to your self-hosted copy such that the file is named zookeeper-#{version}/zookeeper-#{version}.tar.gz
, and set the mirror
value to whatever precedes that.
Closing this out.
The cookbooks LWRP passes in the mirror and builds the tar path itself. Can this cookbook support direct links to a self-hosted copy of the tar, say in S3?
Thanks