[pkg-kolab] r1441 - pkg-kolab_testsuite
Mathieu Parent
sathieu at alioth.debian.org
Sat Nov 28 15:54:05 UTC 2009
Author: sathieu
Date: 2009-11-28 15:54:05 +0000 (Sat, 28 Nov 2009)
New Revision: 1441
Modified:
pkg-kolab_testsuite/testsuite
Log:
kolab-webadmin installation
Modified: pkg-kolab_testsuite/testsuite
===================================================================
--- pkg-kolab_testsuite/testsuite 2009-11-28 15:52:58 UTC (rev 1440)
+++ pkg-kolab_testsuite/testsuite 2009-11-28 15:54:05 UTC (rev 1441)
@@ -877,6 +877,22 @@
print "* Installing PHP Unit:\n";
remote_command($domip, 'apt-get -qy install phpunit');
}
+
+ # ====
+ if(conf('kolab_installation_method') eq 'native') {
+ print "* Installing kolab-webadmin:\n";
+ remote_command($domip, 'DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated install kolab-webadmin');
+
+ remote_command($domip, 'sed -i -e "s at kolabserver.example.com@`grep \'^fqdnhostname : \' \
+ /etc/kolab/kolab.conf | gawk \'{ print $3 }\'`@" /etc/kolab/session_vars.php');
+ remote_command($domip, 'sed -i -e "s at dc=example,dc=com@`grep \'^base_dn : \' \
+ /etc/kolab/kolab.conf | gawk \'{ print $3 }\'`@" /etc/kolab/session_vars.php');
+ remote_command($domip, 'sed -i -e "s at PASSWORD@`grep \'^php_pw : \' \
+ /etc/kolab/kolab.conf | gawk \'{ print $3 }\'`@" /etc/kolab/session_vars.php');
+ remote_command($domip, 'sed -i -e "s at cn=nobody,cn=internal,dc=example,dc=com@`grep \'^php_dn : \' \
+ /etc/kolab/kolab.conf | gawk \'{ print $3 }\'`@" /etc/kolab/session_vars.php');
+ remote_command($domip, '/etc/init.d/apache2 reload');
+ }
}
#-------------------------------------------------------
More information about the pkg-kolab-devel
mailing list