1 $dirname = 'apache-tomcat-9.0.0.M3'
2 $filename = "${dirname}.zip"
3 $install_path = "/opt/${dirname}"
16 target => $install_path,
27 path => "/tmp/${filename}",
28 source => 'http://www-eu.apache.org/dist/tomcat/tomcat-9/v9.0.0.M3/bin/apache-tomcat-9.0.0.M3.zip',
29 checksum => 'f2aaf16f5e421b97513c502c03c117fab6569076',
30 checksum_type => 'sha1',
32 extract_path => '/opt',
33 creates => "${install_path}/bin",
37 require => File[$install_path],