Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haf/puppet-httpfile

Gives you a new type 'httpfile' that downloads a file and verifies its checksum
https://github.com/haf/puppet-httpfile

Last synced: about 1 month ago
JSON representation

Gives you a new type 'httpfile' that downloads a file and verifies its checksum

Awesome Lists containing this project

README

        

# puppet-httpfile

Usage:

```puppet
httpfile { '/tmp/myfile.deb':
ensure => present,
source => 'https://cloud.github.com/whatever.deb',
hash => 'hex form SHA2 hash OR an URL to the .sha file with that hash'
}
```

## Future features thought of:

* Hash provider rather than hard-coded SHA2
* E-tag support
* Better STAT-support to avoid hashing the file over and over.