Commit d062ae2a authored by Markus Guenther's avatar Markus Guenther
Browse files

[TASK] Add default tika server version

parent 7b782acc
...@@ -227,7 +227,6 @@ action :add do ...@@ -227,7 +227,6 @@ action :add do
source "#{tika_server_uri}/tika-server-#{new_resource.tika_server}.jar" source "#{tika_server_uri}/tika-server-#{new_resource.tika_server}.jar"
mode 0550 mode 0550
notifies :restart, 'service[tomcat]', :immediately notifies :restart, 'service[tomcat]', :immediately
only_if { Gem::Version.new(new_resource.tika_server) > Gem::Version.new('0.0.0') }
end end
......
...@@ -2,7 +2,7 @@ actions :add, :remove ...@@ -2,7 +2,7 @@ actions :add, :remove
attribute :name, :kind_of => String, :name_attribute => true attribute :name, :kind_of => String, :name_attribute => true
attribute :solr, :kind_of => String, :default => '3.6.2' attribute :solr, :kind_of => String, :default => '3.6.2'
attribute :tika_server, :kind_of => String, :default => '0.0.0' attribute :tika_server, :kind_of => String, :default => '1.13'
attribute :extension, :kind_of => String, :default => '2.8' attribute :extension, :kind_of => String, :default => '2.8'
attribute :plugin, :kind_of => String, :default => '0.0.0' attribute :plugin, :kind_of => String, :default => '0.0.0'
attribute :plugin_access, :kind_of => String, :default => '0.0.0' attribute :plugin_access, :kind_of => String, :default => '0.0.0'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment