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

[BUGFIX] Remove default solr cores

parent 23ff4190
......@@ -86,8 +86,8 @@ action :add do
tar -xzf ext-solr-#{new_resource.extension}.tgz;
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/;
rm -rf server/solr/cores/ && 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/;
cp -a #{Chef::Config['file_cache_path']}/ext-solr/Resources/Private/Solr/cores server/solr/;
chown solr:root -R #{node['typo3_solr']['solr']['solr_home']};
EOF
end
......
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