Commit caae9808 authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[BUGFIX] Always restart solr and don't copy the default cores

parent ef662e77
......@@ -83,14 +83,13 @@ action :add do
code <<-EOF
cd #{node['typo3_solr']['solr']['solr_home']};
rm -rf server/solr/configsets/ && cp -a #{Chef::Config['file_cache_path']}/ext-solr/Resources/Private/Solr/configsets server/solr/configsets/;
cp -a #{Chef::Config['file_cache_path']}/ext-solr/Resources/Private/Solr/cores server/solr/;
cp -a #{Chef::Config['file_cache_path']}/ext-solr/Resources/Private/Solr/solr.xml server/solr/;
chown solr:root -R #{node['typo3_solr']['solr']['solr_home']};
EOF
end
# start solr
execute 'systemctl start solr'
execute 'systemctl restart solr'
# Setup Tika server
directory node['typo3_solr']['solr']['tika_home'] do
......
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