diff --git a/debian/config/check_kernel b/debian/config/check_kernel new file mode 100644 index 000000000..ffb6040d6 --- /dev/null +++ b/debian/config/check_kernel @@ -0,0 +1 @@ +nagios ALL=(ALL:ALL) NOPASSWD: /etc/icinga2/scripts/check_kernel diff --git a/debian/control b/debian/control index 33ee70662..153ae1e34 100644 --- a/debian/control +++ b/debian/control @@ -41,7 +41,7 @@ Description: host and network monitoring system Package: icinga2-common Architecture: all -Depends: adduser, ${misc:Depends} +Depends: adduser, sudo, binutils, ${misc:Depends} Description: host and network monitoring system - common files Icinga 2 is still in development and not ready for production use! . diff --git a/debian/icinga2-common.install b/debian/icinga2-common.install index e3ade60de..77bc31dd7 100644 --- a/debian/icinga2-common.install +++ b/debian/icinga2-common.install @@ -1,6 +1,7 @@ debian/tmp/etc/icinga2 debian/config/apt.conf etc/icinga2/conf.d/hosts/localhost debian/config/kernel.conf etc/icinga2/conf.d/hosts/localhost +debian/config/check_kernel etc/sudoers.d usr/bin/icinga2-build* usr/bin/icinga2-sign-key usr/sbin/icinga2-*-feature