[packages/nagios-plugin-check_chef_stale] new, version 0.1.1

glen glen at pld-linux.org
Thu Apr 23 12:06:50 CEST 2015


commit 7865790bb0ccace74bbd0913d40523ce8a1c5a09
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 23 13:06:13 2015 +0300

    new, version 0.1.1

 nagios-plugin-check_chef_stale.spec | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
---
diff --git a/nagios-plugin-check_chef_stale.spec b/nagios-plugin-check_chef_stale.spec
new file mode 100644
index 0000000..20017ec
--- /dev/null
+++ b/nagios-plugin-check_chef_stale.spec
@@ -0,0 +1,37 @@
+%define		plugin	check_chef_stale
+Summary:	Nagios plugin to check stale nodes in Chef
+Name:		nagios-plugin-%{plugin}
+Version:	0.1.1
+Release:	1
+License:	GPL v2
+Group:		Networking
+Source0:	https://github.com/glensc/nagios-plugin-check_chef_stale/archive/v%{version}/%{plugin}-%{version}.tar.gz
+# Source0-md5:	01ff00ef3ef4146ddbbe9901da2e1327
+URL:		https://github.com/glensc/nagios-plugin-check_chef_stale
+Requires:	nagios-common
+Requires:	knife
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/nagios/plugins
+%define		plugindir	%{_prefix}/lib/nagios/plugins
+
+%description
+Alerting for stale nodes on Chef with Nagios.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{plugindir}}
+install -p %{plugin}.rb $RPM_BUILD_ROOT%{plugindir}/%{plugin}
+cp -p %{plugin}.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
+%attr(755,root,root) %{plugindir}/%{plugin}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_chef_stale.git/commitdiff/7865790bb0ccace74bbd0913d40523ce8a1c5a09



More information about the pld-cvs-commit mailing list