Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chef Cookbooks
typo3-solr
Commits
caae9808
Commit
caae9808
authored
Oct 03, 2017
by
Stefan Galinski
🎮
Browse files
[BUGFIX] Always restart solr and don't copy the default cores
parent
ef662e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
providers/app.rb
View file @
caae9808
...
...
@@ -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
re
start solr'
# Setup Tika server
directory
node
[
'typo3_solr'
][
'solr'
][
'tika_home'
]
do
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment