From: Gunnar Beutner Date: Sun, 13 Apr 2014 11:49:38 +0000 (+0200) Subject: Don't disable notifications on master instances. X-Git-Tag: v0.0.10~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c5d646fd36455e1a2e132713ddd488b1fa7e4a2;p=icinga2 Don't disable notifications on master instances. Refs #6002 --- diff --git a/pki/icinga2-setup-agent.cmake b/pki/icinga2-setup-agent.cmake index 5d05da8c1..501970f06 100644 --- a/pki/icinga2-setup-agent.cmake +++ b/pki/icinga2-setup-agent.cmake @@ -183,8 +183,10 @@ AGENT echo "Enabling agent feature..." @CMAKE_INSTALL_FULL_SBINDIR@/icinga2-enable-feature agent - echo "Disabling notification feature..." - @CMAKE_INSTALL_FULL_SBINDIR@/icinga2-disable-feature notification + if [ "$master" = "n" ]; then + echo "Disabling notification feature..." + @CMAKE_INSTALL_FULL_SBINDIR@/icinga2-disable-feature notification + fi echo "" echo "The key bundle was installed successfully and the agent component"