Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 535 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 535 Bytes

puppet-downloadfile

download file and verify via checksum

use like this:

class logstash () 
{
  downloadfile::and_md5check { 
    logstash:
      url      => "https://logstash.objects.dreamhost.com/release/logstash-1.1.4-monolithic.jar",
      dest     => "/tmp/logstash.jar",
      md5sum     => "68ac6c953aad026752f69ae7c15b13f4",
      # following are optional
      user  => "vagrant", # default: root
      group => "vagrant", # default: root
      chmod => "770", # default: 640
  }
}