Open logicminds opened 11 years ago
Do you think that the examples which are given in the Puppet doc of download.pp
and extract.pp
are sufficient if they also were in the README.md
or is a more elaborate description needed?
I would document these separately:
Essentially, I am unable to perform the following:
$package_name = 'haproxy-1.3.26-pcre-40kses-splice-linux-i586.stripped' $download_url = 'http://haproxy.1wt.eu/download/1.3/bin/haproxy-1.3.26-pcre-40kses-splice-linux-i586.stripped.gz' $extract_dir = '/opt/apps'
archive {"$package_name": ensure => present, url => "$download_url", target => "$extract_dir", checksum => false, src_target => '/tmp', root_dir => 'haproxy', }
The file you reference is not a tarball but a gzipped binary. This module expects a packaged directory of files and it has to be either a compressed tarball or a zipfile. I guess this could be made clearer in the documentation.
Please document the usage details for how to download and extract.
Can I use extract to pull from web? Or do I need to first download then call extract separately?