--- a/dev/provisioning/modules/sysconfig/manifests/rdf4j.pp Thu Nov 10 02:01:46 2016 +0100
+++ b/dev/provisioning/modules/sysconfig/manifests/rdf4j.pp Thu Nov 10 14:07:02 2016 +0100
@@ -46,6 +46,9 @@
file { "/tmp/rdf4j":
ensure => directory,
}->
+ package { "unzip":
+ ensure => present
+ }->
archive { 'rdf4j-2.1.1':
ensure => present,
url => "http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-2.1.1-sdk.zip&r=1",
@@ -79,7 +82,7 @@
notify => Service['tomcat']
}->
exec { "undeploy-rdf4j-tomcat":
- command => "/usr/bin/rm -f /var/lib/tomcat/webapps/openrdf-*.war && /bin/sleep 10",
+ command => "/usr/bin/rm -f /var/lib/tomcat/webapps/{openrdf,rdf4j}-*.war && /bin/sleep 10",
notify => Service['tomcat'],
path => "/usr/bin:/bin"
}->