Changeset 921 for dasscm/trunk


Ignore:
Timestamp:
Jul 26, 2010, 6:47:32 PM (14 years ago)
Author:
joergs
Message:

added /etc/sudoers.d/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.spec

    r916 r921  
    1212Autoreqprov:    on
    1313Summary:        Dass Configuration Management
    14 Version:        1.1
     14Version:        1.2
    1515Release:        0
    1616Requires:       subversion perl
     
    6767    install -m 644 etc/nagios/nrpe.d/nrpe-dasscm.cfg $RPM_BUILD_ROOT/etc/nagios/nrpe.d/dasscm.cfg
    6868%endif
    69 
     69# /etc/sudoers.d/ is still uncommon, but very useful,
     70# therefore it is always created
     71mkdir -p $RPM_BUILD_ROOT/etc/sudoers.d/
     72install -m 644 etc/sudoers.d/nagios_dasscm_check.conf $RPM_BUILD_ROOT/etc/sudoers.d/
    7073
    7174
     
    8891
    8992%if 0%{?use_bash_completion}
    90 %config /etc/bash_completion.d/dasscm.sh
     93%config(noreplace) /etc/bash_completion.d/dasscm.sh
    9194%else
    9295%doc    etc/bash_completion.d/bash_completion_dasscm.sh
     
    9497
    9598%if 0%{?use_nagios_nrpe_d}
    96 %config /etc/nagios/nrpe.d/dasscm.cfg
     99%config(noreplace) /etc/nagios/nrpe.d/dasscm.cfg
    97100%else
    98101%doc    etc/nagios/nrpe.d/nrpe-dasscm.cfg
    99102%endif
     103
     104# /etc/sudoers.d/ should not belong to dasscm,
     105# but is does currently not exist on most distributions
     106%dir /etc/sudoers.d/
     107%config(noreplace) /etc/sudoers.d/nagios_dasscm_check.conf
Note: See TracChangeset for help on using the changeset viewer.