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
b81b278a
Commit
b81b278a
authored
Oct 03, 2017
by
Stefan Galinski
🎮
Browse files
[BUGFIX] Remove default solr cores
parent
23ff4190
Changes
1
Hide whitespace changes
Inline
Side-by-side
providers/app.rb
View file @
b81b278a
...
...
@@ -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
...
...
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