Commit 0c5e853c authored by Stefan Galinski's avatar Stefan Galinski

[TASK][!!!] Fix copying from current solr sources (older ones will not work anymore)

parent 1fbef633
......@@ -82,8 +82,8 @@ 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/solr.xml server/solr/;
rm -rf server/solr/configsets/ && cp -a #{Chef::Config['file_cache_path']}/ext-solr-#{new_resource.extension}/Resources/Private/Solr/configsets server/solr/configsets/;
cp -a #{Chef::Config['file_cache_path']}/ext-solr-#{new_resource.extension}/Resources/Private/Solr/solr.xml 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