Don't disable notifications on master instances.

Refs #6002
This commit is contained in:
Gunnar Beutner 2014-04-13 13:49:38 +02:00
parent 6ebebb22d6
commit 7c5d646fd3
1 changed files with 4 additions and 2 deletions

View File

@ -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"