Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/haf/puppet-httpfile
- Owner: haf
- License: other
- Created: 2012-10-01T12:45:57.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-01T22:22:55.000Z (about 12 years ago)
- Last Synced: 2024-10-19T21:16:47.072Z (2 months ago)
- Language: Ruby
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.