[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
David GUENAULT
dguenault at monitoring-fr.org
Tue Feb 28 22:10:25 UTC 2012
The following commit has been merged in the debian/master branch:
commit c209f679ec8f534a86f36d8889899ed47d5740bb
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date: Thu Dec 29 08:55:28 2011 +0100
FIX usage, output redirection and apache secondary group for multisite installation
diff --git a/contrib/alternative-installation/shinken-install/shinken.sh b/contrib/alternative-installation/shinken-install/shinken.sh
index 5b08fcc..34c9b0c 100755
--- a/contrib/alternative-installation/shinken-install/shinken.sh
+++ b/contrib/alternative-installation/shinken-install/shinken.sh
@@ -1013,7 +1013,7 @@ echo "Usage : shinken -k | -i | -w | -d | -u | -b | -r | -l | -c | -h | -a | -z
-c Compress rotated logs
-e which daemons to keep enabled at boot time
-z This is a really special usecase that allow to install shinken on Centreon Enterprise Server in place of nagios
- -p Install plugins or addons (args should be one of the following : check_esx3|nagios-plugins|check_oracle_health|capture_plugin|pnp4nagios)
+ -p Install plugins or addons (args should be one of the following : check_esx3|nagios-plugins|check_oracle_health|capture_plugin|pnp4nagios|multisite)
-h Show help"
}
@@ -1043,7 +1043,7 @@ function install_multisite(){
for p in $MKAPTPKG
do
cecho " -> Installing $p" green
- apt-get --force-yes -y install $p # > /dev/null 2>&1
+ apt-get --force-yes -y install $p > /dev/null 2>&1
done
filename=$(echo $MKURI | awk -F"/" '{print $NF}')
@@ -1062,7 +1062,7 @@ function install_multisite(){
tar zxvf $filename > /dev/null 2>&1
cd $folder
cecho " > install multisite" green
- ./setup.sh --yes
+ ./setup.sh --yes > /dev/null 2>&1
cecho " > default configuration for multisite" green
echo 'sites = {' >> $MKPREFIX/etc/multisite.mk
echo ' "default": {' >> $MKPREFIX/etc/multisite.mk
@@ -1071,6 +1071,9 @@ function install_multisite(){
echo ' "url_prefix": "/",' >> $MKPREFIX/etc/multisite.mk
echo ' },' >> $MKPREFIX/etc/multisite.mk
echo ' }' >> $MKPREFIX/etc/multisite.mk
+ rm -Rf $TARGET/etc/check_mk.d/*
+ cecho " > Fix www-data group" green
+ usermod -a -G $SKGROUP www-data
service apache2 restart
}
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list