Add puppet/archive module, required for newer puppet/rabbitmq
[mirror/dsa-puppet.git] / 3rdparty / modules / archive / examples / remote_checksum.pp
diff --git a/3rdparty/modules/archive/examples/remote_checksum.pp b/3rdparty/modules/archive/examples/remote_checksum.pp
new file mode 100644 (file)
index 0000000..76c741e
--- /dev/null
@@ -0,0 +1,10 @@
+include '::archive'
+
+archive { '/tmp/hawtio-web-1.4.36.jar':
+  ensure        => present,
+  extract       => false,
+  extract_path  => '/tmp',
+  source        => 'https://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war&r=releases',
+  checksum_url  => 'https://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war.md5&r=releases',
+  checksum_type => 'md5',
+}