mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Remove the architecture in the RPM and Debian artifacts
Logstash will now generate theses filenames instead: ``` logstash-5.0.0.rpm logstash-5.0.0.deb ``` Fixes #5249 Fixes #5262
This commit is contained in:
parent
c375ec1e48
commit
6ea07db5d9
1 changed files with 4 additions and 5 deletions
|
@ -224,10 +224,12 @@ namespace "artifact" do
|
|||
dir.input("#{empty}/=/etc/logstash/conf.d")
|
||||
end
|
||||
|
||||
# produce: logstash-5.0.0-alpha1.deb"
|
||||
# produce: logstash-5.0.0-alpha1.rpm
|
||||
package_filename = "logstash-#{LOGSTASH_VERSION}.TYPE"
|
||||
|
||||
case platform
|
||||
when "redhat", "centos"
|
||||
# produce: logstash-5.0.0-alpha1.noarch.rpm
|
||||
package_filename = "logstash-#{LOGSTASH_VERSION}.ARCH.TYPE"
|
||||
|
||||
File.join(basedir, "pkg", "logrotate.conf").tap do |path|
|
||||
dir.input("#{path}=/etc/logrotate.d/logstash")
|
||||
|
@ -249,9 +251,6 @@ namespace "artifact" do
|
|||
out.config_files << "etc/logrotate.d/logstash"
|
||||
out.config_files << "/etc/init.d/logstash"
|
||||
when "debian", "ubuntu"
|
||||
# produce: logstash-5.0.0-alpha1_all.deb"
|
||||
package_filename = "logstash-#{LOGSTASH_VERSION}_ARCH.TYPE"
|
||||
|
||||
File.join(basedir, "pkg", "logstash.default").tap do |path|
|
||||
dir.input("#{path}=/etc/default/logstash")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue