Changeset 902 for dasscm/trunk


Ignore:
Timestamp:
Jun 27, 2010, 11:57:08 AM (14 years ago)
Author:
joergs
Message:

add nrpe config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.spec

    r900 r902  
    6161    install -m 644 etc/bash_completion.d/bash_completion_dasscm.sh $RPM_BUILD_ROOT/etc/bash_completion.d/dasscm.sh
    6262fi
     63if [ -d /etc/nagios/nrpe.d/ ]; then
     64    %define use_nagios_nrpe_d 1
     65    mkdir -p $RPM_BUILD_ROOT/etc/nagios/nrpe.d/
     66    install -m 644 etc/nagios/nrpe.d/nrpe-dasscm.cfg $RPM_BUILD_ROOT/etc/nagios/nrpe.d/dasscm.cfg
     67fi
     68
    6369
    6470
     
    7985%attr(640,root,root) %config(noreplace) /etc/dasscm.conf
    8086%doc Changes doc/* subversion-servers.dass-it
     87
    8188%if 0%{?use_bash_completion}
    8289%config /etc/bash_completion.d/dasscm.sh
     
    8491%doc    etc/bash_completion.d/bash_completion_dasscm.sh
    8592%endif
     93
     94%if 0%{?use_nagios_nrpe_d}
     95%config /etc/nagios/nrpe.d/dasscm.cfg
     96%else
     97%doc    etc/nagios/nrpe.d/nrpe-dasscm.cfg
     98%endif
Note: See TracChangeset for help on using the changeset viewer.