1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-05 10:03:45 +01:00

Fixing spec a bit

This commit is contained in:
Richard Allen 2016-12-21 11:53:52 +00:00
parent 471d0fd2a2
commit 45361e4606

View File

@ -28,7 +28,7 @@ A Nagios plugin to check if iptables are actually enforcing rules
%install
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 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/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
* Thu Dec 20 2016 Richard Allen <ra@ok.is> 0.1-1
- Initial packaging