Skip to content

Commit 70c7781

Browse files
authored
Merge pull request #90 from bebehei/icinga-disable-feature
do not work around weird warning messages in feature-disable
2 parents 34038d1 + 51de687 commit 70c7781

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

content/opt/setup/graphite

-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@ if [ "${ICINGA2_FEATURE_GRAPHITE}" == "true" ] || [ "${ICINGA2_FEATURE_GRAPHITE}
2121

2222
else
2323
# Actively disable graphite, to not hit any weird bugs
24-
# Currently icinga2 gives weird error-messages when disabling a disabled feature
25-
# https://dev.icinga.com/issues/13903
26-
[ -e /etc/icinga2/features-enabled/graphite.conf ] && \
2724
icinga2 feature disable graphite
2825
fi

content/opt/setup/icingaweb2-director

-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,5 @@ if [ "${ICINGA2_FEATURE_DIRECTOR}" == "true" ] || [ "${ICINGA2_FEATURE_DIRECTOR}
3030
else
3131
[ ! -L /etc/icinga2/conf.d/api-user.conf ] && \
3232
rm /etc/icinga2/conf.d/api-user.conf
33-
[ -e /etc/icingaweb2/enabledModules/director ] && \
3433
icingacli module disable director
3534
fi

content/opt/setup/icingaweb2-graphite

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ if [ "${ICINGA2_FEATURE_GRAPHITE}" == "true" ] || [ "${ICINGA2_FEATURE_GRAPHITE}
1111

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

0 commit comments

Comments
 (0)