Skip to content

Commit

Permalink
Merge pull request #90 from bebehei/icinga-disable-feature
Browse files Browse the repository at this point in the history
do not work around weird warning messages in feature-disable
  • Loading branch information
jjethwa authored Aug 14, 2017
2 parents 34038d1 + 51de687 commit 70c7781
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions content/opt/setup/graphite
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ if [ "${ICINGA2_FEATURE_GRAPHITE}" == "true" ] || [ "${ICINGA2_FEATURE_GRAPHITE}

else
# Actively disable graphite, to not hit any weird bugs
# Currently icinga2 gives weird error-messages when disabling a disabled feature
# https://dev.icinga.com/issues/13903
[ -e /etc/icinga2/features-enabled/graphite.conf ] && \
icinga2 feature disable graphite
fi
1 change: 0 additions & 1 deletion content/opt/setup/icingaweb2-director
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ if [ "${ICINGA2_FEATURE_DIRECTOR}" == "true" ] || [ "${ICINGA2_FEATURE_DIRECTOR}
else
[ ! -L /etc/icinga2/conf.d/api-user.conf ] && \
rm /etc/icinga2/conf.d/api-user.conf
[ -e /etc/icingaweb2/enabledModules/director ] && \
icingacli module disable director
fi
2 changes: 0 additions & 2 deletions content/opt/setup/icingaweb2-graphite
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ if [ "${ICINGA2_FEATURE_GRAPHITE}" == "true" ] || [ "${ICINGA2_FEATURE_GRAPHITE}

else
# Actively disable graphite, to not hit any weird bugs
# Currently icingacli gives weird error-messages when disabling a disabled feature
[ -e /etc/icingaweb2/enabledModules/graphite ] && \
icingacli module disable graphite
fi

0 comments on commit 70c7781

Please sign in to comment.