Open KeNaCo opened 8 years ago
Maybe you need to rename from sklik-sklik-td-agent
to sklik-td-agent
, project name.
But this is auto generated folder. Project file name is sklik-td-agent2.rb and package name should be sklik-td-agent.
That's weird. Auto generated file path should be sklik-td-agent
...
Can you please confirm it's an upstream bug? Or where can be error if it's not? More details about my changes: add ./config/projects/sklik-td-agent2.rb:
require 'erb'
require 'fileutils'
require 'rubygems'
name "sklik-td-agent"
maintainer "Jan Porhincak <jan.porhincak@firma.seznam.cz>"
homepage ""
description ""
install_dir "/opt/sklik-td-agent"
build_version "2.3.2"
build_iteration 0
# creates required build directories
dependency "preparation"
override :ruby, :version => '2.1.10'
override :zlib, :version => '1.2.8'
override :rubygems, :version => '2.4.8'
override :postgresql, :version => '9.3.5'
# td-agent dependencies/components
dependency "td-agent"
dependency "td-agent-files"
dependency "td"
dependency "td-agent-ui"
dependency "td-agent-cleanup"
# version manifest file
dependency "version-manifest"
case ohai["os"]
when "linux"
case ohai["platform_family"]
when "debian"
runtime_dependency "lsb-base"
when "rhel"
runtime_dependency "initscripts"
if ohai["platform_version"][0] == "5"
runtime_dependency "redhat-lsb"
else
runtime_dependency "redhat-lsb-core"
end
end
end
exclude "\.git*"
exclude "bundler\/git"
compress :dmg do
end
add ./sklik_plugin_gems.rb:
dir 'plugin_gems'
download "httpclient", "2.7.2"
download "td-client", "0.8.81"
download "td", "0.14.0"
download "fluent-plugin-td", "0.10.28"
download "uuidtools", "2.1.5"
download "string-scrub", "0.0.5"
download "fluent-plugin-rewrite-tag-filter", "1.5.5"
download "fluent-plugin-td-monitoring", "0.2.2"
download "fluent-plugin-prometheus", "0.1.3"
google-fluentd and several companies can build own package via modified omnibus-td-agent, so master should work.
Can you please confirm it's an upstream bug?
I'm now busy for releasing tasks / fluentd stuff. After finished these tasks, I will check it.
I had the same problem, resolved by removing this line as all paths are already contain proper project name:
https://github.com/treasure-data/omnibus-td-agent/blob/master/config/software/td-agent-files.rb#L25
So it looks like the problem is reproducable only when custom name contains td-agent
part.
Hi, I try to build custom debian package with some plugins and also custom name to recogize it.
But build end with ackward
And I have just added
./config/projects/sklik-td-agent2.rb
and change name, maintainer, homepage and description, and also add custom sklik_plugin_gems.rbWhat is suspicious for me is resources folder name:
Is there problem on my side? Thanks for any help.