Closed rdev5 closed 7 years ago
Test for /opt/${pkgname} to skip downloading from source. Useful in supporting pre-download from fileserver.
/opt/${pkgname}
Example:
class profile::couchbase::enterprise { ... # Pre-download from fileserver to skip large file download file { "/opt/${file_basename}": ensure => present, owner => 'root', mode => '0400', source => $file_source, checksum => $checksum, checksum_value => $file_checksum, } -> class { 'couchbase': edition => $edition, version => $version, download_url_base => $download_url_base, size => $size, user => $user, password => $password, } }
Test for
/opt/${pkgname}
to skip downloading from source. Useful in supporting pre-download from fileserver.Example: