template-specs: nagios-plugin.spec - include -H in default config

glen glen at pld-linux.org
Tue Feb 9 16:32:46 CET 2010


Author: glen                         Date: Tue Feb  9 15:32:46 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- include -H in default config

---- Files affected:
template-specs:
   nagios-plugin.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: template-specs/nagios-plugin.spec
diff -u template-specs/nagios-plugin.spec:1.10 template-specs/nagios-plugin.spec:1.11
--- template-specs/nagios-plugin.spec:1.10	Wed Jan 13 16:24:04 2010
+++ template-specs/nagios-plugin.spec	Tue Feb  9 16:32:41 2010
@@ -1,5 +1,7 @@
 # $Revision$, $Date$
 %define		plugin	check_template
+# enable here and BR deps, and noautoreq for Perl based plugins
+#%include	/usr/lib/rpm/macros.perl
 Summary:	Nagios plugin to check ...
 Summary(pl.UTF_8):	Wtyczka Nagiosa sprawdzająca ...
 Name:		nagios-plugin-%{plugin}
@@ -12,6 +14,9 @@
 Source1:	%{plugin}.cfg
 #Patch0:		%{name}-defaultpass.patch
 URL:		-
+# enable for Perl based plugins
+#BuildRequires:	perl-devel >= 1:5.8.0
+#BuildRequires:	rpm-perlprov >= 4.1-13
 Requires:	nagios-common
 # Requires:	nagios-plugins-libs for utils.{sh,pm,php}, for Perl set noautoreq for perl(utils)
 #Requires:	nagios-plugins-libs
@@ -39,7 +44,7 @@
 # %{plugin}
 define command {
 	command_name    %{plugin}
-	command_line    %{plugindir}/%{plugin} $ARG1$
+	command_line    %{plugindir}/%{plugin} -H $HOSTADDRESS$ $ARG1$
 }
 EOF
 
@@ -64,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/02/09 15:32:41  glen
+- include -H in default config
+
 Revision 1.10  2010/01/13 15:24:04  glen
 - perl noautoreq note;
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/nagios-plugin.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list