Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RPM packaging #244

Merged
merged 2 commits into from
Feb 6, 2016
Merged

Update RPM packaging #244

merged 2 commits into from
Feb 6, 2016

Conversation

phil-dileo
Copy link
Contributor

  • Enable RPM subpackages. Allows you to create 3 packages
    • A base package with the just the tcollector
    • A collectors subpackage with just collectors
    • An eos subpackage with EOS-only collectors (depends on EosSDK)

- Enable RPM subpackages. Allows you to create 3 packages
  - A base package with the just the tcollector
  - A collectors subpackage with just collectors
  - An eos subpackage with EOS-only collectors (depends on EosSDK)
@phil-dileo
Copy link
Contributor Author

Now when you do make rpm you get three RPMS in the noarch dir:

The base RPM tcollector-1.2.1-1.noarch.rpm

[root@ztps noarch]# rpm -qlp tcollector-1.2.1-1.noarch.rpm 
/etc/init.d/tcollector
/usr/local/tcollector
/usr/local/tcollector/collectors/__init__.py
/usr/local/tcollector/collectors/etc
/usr/local/tcollector/collectors/etc/__init__.py
/usr/local/tcollector/collectors/etc/config.py
/usr/local/tcollector/collectors/etc/flume_conf.py
/usr/local/tcollector/collectors/etc/g1gc_conf.py
/usr/local/tcollector/collectors/etc/graphite_bridge_conf.py
/usr/local/tcollector/collectors/etc/jolokia_conf.py
/usr/local/tcollector/collectors/etc/mysqlconf.py
/usr/local/tcollector/collectors/etc/postgresqlconf.py
/usr/local/tcollector/collectors/etc/udp_bridge_conf.py
/usr/local/tcollector/collectors/etc/zabbix_bridge_conf.py
/usr/local/tcollector/collectors/lib
/usr/local/tcollector/collectors/lib/__init__.py
/usr/local/tcollector/collectors/lib/hadoop_http.py
/usr/local/tcollector/collectors/lib/utils.py
/usr/local/tcollector/tcollector.py

The collectors subpackage tcollector-collectors-1.2.1-1.noarch.rpm

[root@ztps noarch]# rpm -qlp tcollector-collectors-1.2.1-1.noarch.rpm 
/usr/local/tcollector/collectors/0/dfstat.py
/usr/local/tcollector/collectors/0/ifstat.py
/usr/local/tcollector/collectors/0/iostat.py
/usr/local/tcollector/collectors/0/netstat.py
/usr/local/tcollector/collectors/0/procnettcp.py
/usr/local/tcollector/collectors/0/procstats.py
/usr/local/tcollector/collectors/0/smart-stats.py

The EOS subpackage tcollector-eos-1.2.1-1.noarch.rpm

[root@ztps noarch]# rpm -qlp tcollector-eos-1.2.1-1.noarch.rpm 
/usr/bin/tcollector
/usr/lib/python2.7/site-packages/tcollector_agent.py
/usr/local/tcollector/collectors/0/agentcpu.sh
/usr/local/tcollector/collectors/0/eos.py

@johann8384
Copy link
Member

This is a silly question probably, but you've completed the CLA right?

@phil-dileo
Copy link
Contributor Author

CLA?

@johann8384
Copy link
Member

@johann8384 johann8384 added this to the 1.3.0 milestone Feb 5, 2016
@johann8384 johann8384 self-assigned this Feb 5, 2016
@johann8384 johann8384 merged commit 2f66c34 into OpenTSDB:master Feb 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants