/usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu
NameSizeModeActions
apache.py19290644editdlrm
apache.pyc13540644editdlrm
apache.pyo13540644editdlrm
ebs.py99380644editdlrm
ebs.pyc85590644editdlrm
ebs.pyo85590644editdlrm
installer.py35450644editdlrm
installer.pyc39700644editdlrm
installer.pyo39700644editdlrm
mysql.py48570644editdlrm
mysql.pyc33440644editdlrm
mysql.pyo33440644editdlrm
trac.py62700644editdlrm
trac.pyc48380644editdlrm
trac.pyo48380644editdlrm
__init__.py11120644editdlrm
__init__.pyc1600644editdlrm
__init__.pyo1600644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu/trac.pyo (4838B)
Ñò Å-õSc@sBddklZddkZddkZdefd„ƒYZdS(iÿÿÿÿ(t InstallerNtTraccBs)eZdZd„Zd„Zd„ZRS(s6 Install Trac and DAV-SVN Sets up a Vhost pointing to [Trac]->home Using the config parameter [Trac]->hostname Sets up a trac environment for every directory found under [Trac]->data_dir [Trac] name = My Foo Server hostname = trac.foo.com home = /mnt/sites/trac data_dir = /mnt/trac svn_dir = /mnt/subversion server_admin = root@foo.com sdb_auth_domain = users # Optional SSLCertificateFile = /mnt/ssl/foo.crt SSLCertificateKeyFile = /mnt/ssl/foo.key SSLCertificateChainFile = /mnt/ssl/FooCA.crt cCs„|iddtdtƒ|iddtdtƒ|idƒ|idƒ|idƒ|idƒ|id ƒ|id ƒdS( Nsapt-get -y install tractnotifyt exit_on_errors!apt-get -y install libapache2-svns a2enmod sslsa2enmod mod_pythonsa2enmod dav_svnsa2enmod rewritestouch /var/log/boto.logschmod a+w /var/log/boto.log(truntTrue(tself((sE/usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu/trac.pytinstall0s     c Csvtiiddƒiƒ}|oP|idƒ}td|ddƒ}|idƒtiiddƒo|id ƒ|id ƒ|id tiidd ƒiƒƒ|id |ƒ|idƒ|id|ƒ|idƒ|idƒn|id ƒ|id tiidd ƒiƒƒ|id |ƒ|idtiiddƒiƒƒ|idtiiddƒiƒƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idtiiddƒƒ|idƒ|idƒ|id ƒtiidd!ƒ}x™ti|ƒD]ˆ}|ddjoq|id"|ƒ|id#ƒ|id$ƒ|id%ƒ|id&||fƒ|id'|ƒ|id ƒqOqOWtiidd(ƒ}xnti|ƒD]]}|ddjoF|id)|ƒ|id*ƒ|id+||fƒ|id ƒqqW|id,ƒ|id-ƒ|id.ƒ|id/ƒtiiddƒ}|o"|id0ƒ|id1|ƒntiidd2ƒ}|o|id3|ƒntiidd4ƒ} | o|id5| ƒn|id6ƒ|i ƒ|i d7|dƒ|i d8ƒndS(9NRthostnamet.s/etc/apache2/sites-available/%sitwsNameVirtualHost *:80 tSSLCertificateFilesNameVirtualHost *:443 s s ServerAdmin %s t server_admins ServerName %s s RewriteEngine On s! RewriteRule ^(.*)$ https://%s$1 s s s DocumentRoot %s thomes s, Options FollowSymLinks Indexes MultiViews s AllowOverride All s Order allow,deny s allow from all s s s AuthType Basic s AuthName "%s" tnames Require valid-user s, AuthUserFile /mnt/apache/passwd/passwords s tdata_dirs s SetHandler mod_python s% PythonInterpreter main_interpreter s, PythonHandler trac.web.modpython_frontend s PythonOption TracEnv %s/%s s$ PythonOption TracUriRoot /trac/%s tsvn_dirs s DAV svn s SVNPath %s/%s s% ErrorLog /var/log/apache2/error.log s LogLevel warn s0 CustomLog /var/log/apache2/access.log combined s ServerSignature On s SSLEngine On s SSLCertificateFile %s tSSLCertificateKeyFiles SSLCertificateKeyFile %s tSSLCertificateChainFiles SSLCertificateChainFile %s s s a2ensite %ss /etc/init.d/apache2 force-reload( tbototconfigtgettstriptsplittopentwritetostlistdirtcloseR( Rtdomaint domain_infotcnfRtenvRR RR((sE/usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu/trac.pyt setup_vhost<s†   &   &&&                      cCs|iƒ|iƒdS(N(RR!(R((sE/usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu/trac.pytmain‰s (t__name__t __module__t__doc__RR!R"(((sE/usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu/trac.pyRs M(t&boto.pyami.installers.ubuntu.installerRRRR(((sE/usr/lib/python2.6/site-packages/boto/pyami/installers/ubuntu/trac.pyts