X-Git-Url: http://git.onelab.eu/?p=plcrt.git;a=blobdiff_plain;f=plcrt.spec;h=fa6ef4dcba34930b9d7593a0de7bcc3cc04041f7;hp=05eee86f20ea51ffb3e35006a1195d53ec4f4352;hb=c62b289f9707305ac58cadbdbddc470ca7c3cb71;hpb=40dff56a4c447dc5ff9e629d693d8805f6f5ad9c diff --git a/plcrt.spec b/plcrt.spec index 05eee86..fa6ef4d 100644 --- a/plcrt.spec +++ b/plcrt.spec @@ -69,7 +69,8 @@ if grep 'pam_loginuid.so' /etc/pam.d/crond ; then fi if ! grep '' /etc/planetlab/default_config.xml ; then - sed -i 's|| \n RT Configuration\n RT\n \n \n Enabled\n false\n Enable on this machine.\n \n \n Hostname\n localhost.localdomain\n The fully qualified hostname.\n \n \n IP Address\n \n The IP address of the RT server.\n \n \n username\n root\n The user name for RT access.\n \n \n password\n password\n password to the rt user.\n \n \n \n |' /etc/planetlab/default_config.xml + sed -i 's|| \n RT Configuration\n RT\n \n \n Enabled\n false\n Enable on this machine.\n \n \n Hostname\n localhost.localdomain\n The fully qualified hostname.\n \n \n IP Address\n \n The IP address of the RT server.\n \n \n username\n root\n The user name for RT access.\n \n \n password\n password\n password to the rt user.\n \n +\n Database Password\n \n Password to use when accessing the RT database.\n \n \n \n |' /etc/planetlab/default_config.xml fi mkdir -p /etc/planetlab/configs @@ -85,12 +86,16 @@ plc-config --category plc_rt --variable web_user --value root \ --save /etc/planetlab/configs/site.xml /etc/planetlab/configs/site.xml plc-config --category plc_rt --variable web_password --value password \ --save /etc/planetlab/configs/site.xml /etc/planetlab/configs/site.xml +plc-config --category plc_rt --variable dbpassword --value "" \ + --save /etc/planetlab/configs/site.xml /etc/planetlab/configs/site.xml - +# NOTE: not sure why these aren't setup by the rt package... mkdir -p /var/log/rt3 touch /var/log/rt3/rt.log chown apache.apache /var/log/rt3/rt.log +cp /usr/share/rt3/html/NoAuth/images/bplogo.gif /var/www/html/misc/logo.gif + %changelog * Sat Jul 04 2009 Stephen Soltesz - PLCRT-1.0-3 - renamed getpersons.py to accept a given 'role'