Skip to content

Commit

Permalink
Remove icinga2-list-objects
Browse files Browse the repository at this point in the history
refs #7251
  • Loading branch information
gunnarbeutner committed Oct 15, 2014
1 parent db3abac commit 425dbba
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 938 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ add_subdirectory(doc)
add_subdirectory(test)
add_subdirectory(pki)
add_subdirectory(agent)
add_subdirectory(python)

set(CPACK_PACKAGE_NAME "Icinga2")
set(CPACK_PACKAGE_VENDOR "Icinga Development Team")
Expand Down
1 change: 0 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ parentheses):
* Boost library and header files (boost-devel on RHEL, libboost-all-dev on Debian)
* GNU bison (bison)
* GNU flex (flex) >= 2.5.35
* Python (python-devel on RHEL, python-dev on Debian)
* recommended: libexecinfo on FreeBSD
* optional: MySQL (mysql-devel on RHEL, libmysqlclient-dev on Debian)
* optional: PostgreSQL (postgresql-devel on RHEL, libpq-dev on Debian)
Expand Down
30 changes: 2 additions & 28 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ Build-Depends: bison,
libpq-dev,
libssl-dev,
make (>= 3.81),
po-debconf,
python-setuptools,
python-all
po-debconf
Standards-Version: 3.9.5
Homepage: http://www.icinga.org

Expand Down Expand Up @@ -54,7 +52,7 @@ Description: host and network monitoring system

Package: icinga2-common
Architecture: all
Depends: python-icinga2 (= ${source:Version}), adduser, lsb-release, ${misc:Depends}
Depends: adduser, lsb-release, ${misc:Depends}
Description: host and network monitoring system - common files
Icinga 2 is a general-purpose monitoring application and the next generation
after Icinga 1.x - which was a Nagios fork. It should fit the needs of a small
Expand Down Expand Up @@ -241,27 +239,3 @@ Description: host and network monitoring system - debug symbols
.
This package provides debug symbols for Icinga 2.

Package: python-icinga2
Architecture: all
Section: python
Priority: extra
Depends: python-pkg-resources, ${misc:Depends}, ${python:Depends}
Description: host and network monitoring system - Python module
Icinga 2 is a general-purpose monitoring application and the next generation
after Icinga 1.x - which was a Nagios fork. It should fit the needs of a small
environment as well as big installations.
.
Rewritten from scratch in C++, with multi-threading and cluster support.
.
Features:
* All common features of Icinga and Nagios
* Much faster and more scalable than Icinga 1 and Nagios
* New configuration format, more intuitive and template based
* Monitoring several services by executing checks (see nagios-plugins*)
for example ICMP/ping, SMTP, POP3, HTTP, NNTP, or other TCP port
* Any small script can be used as a check plugin, when following the Nagios
plugin API
* Notifications about alerts with any custom script, or shipped examples
* Native support for Livestatus and Graphite
.
This package provides the Python module for Icinga 2.
1 change: 0 additions & 1 deletion debian/icinga2-common.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ debian/tmp/etc/bash_completion.d
tools/syntax/* usr/share/icinga2-common/syntax
usr/bin/icinga2-build*
usr/bin/icinga2-sign-key
usr/sbin/icinga2-list-objects
usr/sbin/icinga2-*-agent
usr/sbin/icinga2-list-agents
usr/share/icinga2
1 change: 0 additions & 1 deletion debian/python-icinga2.install

This file was deleted.

2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#export DH_VERBOSE=1

%:
dh $@ --with python2
dh $@

override_dh_auto_clean:
ifeq ($(shell test -d .git && echo "git"),git) # verify we are in a GIT repo
Expand Down
21 changes: 0 additions & 21 deletions icinga2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
%endif
%endif

%{!?__python2: %global __python2 /usr/bin/python2}
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}

%define icinga_user icinga
%define icinga_group icinga
%define icingacmd_group icingacmd
Expand Down Expand Up @@ -81,7 +77,6 @@ Meta package for Icinga 2 Core, DB IDO and Web.
Summary: Icinga 2 binaries and libraries
Group: Applications/System

Requires: python-%{name} = %{version}-%{release}
%if "%{_vendor}" == "suse"
PreReq: permissions
Provides: monitoring_daemon
Expand Down Expand Up @@ -180,17 +175,6 @@ Icinga 1.x Classic UI Standalone configuration with locations
for Icinga 2.


%package -n python-icinga2
Summary: Python module for Icinga 2
Group: Application/System
BuildRequires: python
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-setuptools

%description -n python-icinga2
Provides a Python module for Icinga 2.

%prep
%setup -q -n %{name}-%{version}

Expand Down Expand Up @@ -534,9 +518,4 @@ exit 0
%config(noreplace) %{apacheconfdir}/icinga.conf
%config(noreplace) %attr(0640,root,%{apachegroup}) %{icingaclassicconfdir}/passwd

%files -n python-icinga2
%defattr(-,root,root,-)
%{python2_sitelib}/icinga2*


%changelog
45 changes: 0 additions & 45 deletions python/CMakeLists.txt

This file was deleted.

23 changes: 0 additions & 23 deletions python/icinga2/CMakeLists.txt

This file was deleted.

Empty file removed python/icinga2/__init__.py
Empty file.
20 changes: 0 additions & 20 deletions python/icinga2/commands/CMakeLists.txt

This file was deleted.

Empty file.
74 changes: 0 additions & 74 deletions python/icinga2/commands/list_objects.py

This file was deleted.

24 changes: 0 additions & 24 deletions python/icinga2/config.py.cmake

This file was deleted.

21 changes: 0 additions & 21 deletions python/icinga2/utils/CMakeLists.txt

This file was deleted.

Empty file removed python/icinga2/utils/__init__.py
Empty file.

0 comments on commit 425dbba

Please sign in to comment.