Module: check_mk
Branch: master
Commit: 7ca59abc0381be866728596fb159c51c2b61e8ff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7ca59abc0381be…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 21 15:43:56 2018 +0100
5907 FIX CentOS/RedHat: Add explicit dependency to php-cli to fix possible broken PNP
graphs
The previous Check_MK packages were not explicitly declaring the dependency
to the php-cli package which is needed to make Dokuwiki, NagVis and PNP4Nagios
work.
The dependency was only declared for php which normally implies php-cli.
Unfortunately there are third party packages that don't have this implicit
dependency.
To make Check_MK work out of the box with those PHP installations, we now added
php-cli as explicit dependency.
Change-Id: I20ff20e466c4e0048a5f47737fb68b9d274bcbf2
---
.werks/5907 | 19 +++++++++++++++++++
omd/distros/CENTOS_5.mk | 1 +
omd/distros/CENTOS_6.mk | 1 +
omd/distros/CENTOS_7.mk | 1 +
4 files changed, 22 insertions(+)
diff --git a/.werks/5907 b/.werks/5907
new file mode 100644
index 0000000..2ba5754
--- /dev/null
+++ b/.werks/5907
@@ -0,0 +1,19 @@
+Title: CentOS/RedHat: Add explicit dependency to php-cli to fix possible broken PNP
graphs
+Level: 1
+Component: packages
+Compatible: compat
+Edition: cre
+Version: 1.5.0i4
+Date: 1521643261
+Class: fix
+
+The previous Check_MK packages were not explicitly declaring the dependency
+to the php-cli package which is needed to make Dokuwiki, NagVis and PNP4Nagios
+work.
+
+The dependency was only declared for php which normally implies php-cli.
+Unfortunately there are third party packages that don't have this implicit
+dependency.
+
+To make Check_MK work out of the box with those PHP installations, we now added
+php-cli as explicit dependency.
diff --git a/omd/distros/CENTOS_5.mk b/omd/distros/CENTOS_5.mk
index adabad9..d399651 100644
--- a/omd/distros/CENTOS_5.mk
+++ b/omd/distros/CENTOS_5.mk
@@ -60,6 +60,7 @@ OS_PACKAGES += binutils # Needed by Check_MK Agent Bakery
OS_PACKAGES += rpm-build # Needed by Check_MK Agent Bakery
OS_PACKAGES += perl-Net-SNMP
OS_PACKAGES += php
+OS_PACKAGES += php-cli
OS_PACKAGES += php-mbstring
OS_PACKAGES += php-pdo
OS_PACKAGES += php-gd
diff --git a/omd/distros/CENTOS_6.mk b/omd/distros/CENTOS_6.mk
index acdc68c..8e79b76 100644
--- a/omd/distros/CENTOS_6.mk
+++ b/omd/distros/CENTOS_6.mk
@@ -68,6 +68,7 @@ OS_PACKAGES += pango
OS_PACKAGES += patch
OS_PACKAGES += perl-Net-SNMP
OS_PACKAGES += php
+OS_PACKAGES += php-cli
OS_PACKAGES += php-mbstring
OS_PACKAGES += php-pdo
OS_PACKAGES += php-gd
diff --git a/omd/distros/CENTOS_7.mk b/omd/distros/CENTOS_7.mk
index 4553a18..b87f918 100644
--- a/omd/distros/CENTOS_7.mk
+++ b/omd/distros/CENTOS_7.mk
@@ -74,6 +74,7 @@ OS_PACKAGES += perl-Net-SNMP
OS_PACKAGES += perl-Locale-Maketext-Simple
OS_PACKAGES += perl-IO-Zlib
OS_PACKAGES += php
+OS_PACKAGES += php-cli
OS_PACKAGES += php-mbstring
OS_PACKAGES += php-pdo
OS_PACKAGES += php-gd