From c3fd0343bc32046043715e7d7fdddd2804639f8e Mon Sep 17 00:00:00 2001 From: Joel Diaz Date: Fri, 12 Feb 2016 16:44:36 -0500 Subject: package up lib_zabbix into its own subpackage --- openshift-ansible.spec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'openshift-ansible.spec') diff --git a/openshift-ansible.spec b/openshift-ansible.spec index 7c7fb399c..b8ec1be5d 100644 --- a/openshift-ansible.spec +++ b/openshift-ansible.spec @@ -72,6 +72,10 @@ cp -rp playbooks %{buildroot}%{_datadir}/ansible/%{name}/ # openshift-ansible-roles install cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/ +# openshift-ansible-zabbix install (standalone lib_zabbix library) +mkdir -p %{buildroot}%{_datadir}/ansible/zabbix +cp -rp roles/lib_zabbix/library/* %{buildroot}%{_datadir}/ansible/zabbix/ + # openshift-ansible-filter-plugins install cp -rp filter_plugins %{buildroot}%{_datadir}/ansible_plugins/ @@ -114,6 +118,20 @@ Scripts to make it nicer when working with hosts that are defined only by metada %config(noreplace) /etc/openshift_ansible/ +# ---------------------------------------------------------------------------------- +# openshift-ansible-zabbix subpackage +# ---------------------------------------------------------------------------------- +%package zabbix +Summary: Openshift and Atomic Enterprise Ansible Zabbix library +Requires: python-openshift-tools-zbxapi +BuildArch: noarch + +%description zabbix +Python library for interacting with Zabbix with Ansible. + +%files zabbix +%{_datadir}/ansible/zabbix + # ---------------------------------------------------------------------------------- # openshift-ansible-docs subpackage # ---------------------------------------------------------------------------------- -- cgit v1.2.1