mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-16 15:33:46 +01:00
Fixing spec a bit
This commit is contained in:
parent
471d0fd2a2
commit
45361e4606
@ -28,7 +28,7 @@ A Nagios plugin to check if iptables are actually enforcing rules
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
install -D -p -m 0755 check_time.sh %{buildroot}%{_libdir}/nagios/plugins/check_firewall_active.sh
|
install -D -p -m 0755 check_firewall_active.sh %{buildroot}%{_libdir}/nagios/plugins/check_firewall_active.sh
|
||||||
install -D -p -m 0755 nrpe.d/check_firewall_active.cfg %{buildroot}/etc/nrpe.d/check_firewall_active.cfg
|
install -D -p -m 0755 nrpe.d/check_firewall_active.cfg %{buildroot}/etc/nrpe.d/check_firewall_active.cfg
|
||||||
install -D -p -m 0644 sudoers.d/check_firewall_active %{buildroot}/etc/sudoers.d/check_firewall_active
|
install -D -p -m 0644 sudoers.d/check_firewall_active %{buildroot}/etc/sudoers.d/check_firewall_active
|
||||||
|
|
||||||
@ -42,6 +42,9 @@ rm -rf %{buildroot}
|
|||||||
/etc/nrpe.d/check_firewall_active.cfg
|
/etc/nrpe.d/check_firewall_active.cfg
|
||||||
/etc/sudoers.d/check_firewall_active
|
/etc/sudoers.d/check_firewall_active
|
||||||
|
|
||||||
|
%post
|
||||||
|
restorecon -v %{_libdir}/nagios/plugins/check_firewall_active.sh /etc/nrpe.d/check_firewall_active.cfg /etc/sudoers.d/check_firewall_active
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 20 2016 Richard Allen <ra@ok.is> 0.1-1
|
* Thu Dec 20 2016 Richard Allen <ra@ok.is> 0.1-1
|
||||||
- Initial packaging
|
- Initial packaging
|
||||||
|
Loading…
Reference in New Issue
Block a user