community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMDEV-201) Puppet config for ComDev zone migrated to VM
Date Tue, 14 Jun 2016 21:57:30 GMT

    [ https://issues.apache.org/jira/browse/COMDEV-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15330709#comment-15330709
] 

ASF GitHub Bot commented on COMDEV-201:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/infrastructure-puppet/pull/96


> Puppet config for ComDev zone migrated to VM
> --------------------------------------------
>
>                 Key: COMDEV-201
>                 URL: https://issues.apache.org/jira/browse/COMDEV-201
>             Project: Community Development
>          Issue Type: Task
>          Components: Nearby People
>            Reporter: Nick Burch
>
> Once INFRA-12005 has been completed and the VM is ready, we need to setup the Puppet
config to replace the current ComDev solaris zone with a nice new + supported VM. The requirements
for the puppet setup are:
> * Services
> ** httpd with mod_wsgi
> * Software
> ** python 2.x
> ** python-psycopg2
> ** python-lxml
> ** python-libxml2
> * Accounts
> ** minimum one for me, one for Sam Ruby, and one for the special svn_role account
> ** if possible, svn_role account needs giving its svn password (on zone currently) -
if not can do this step manually (as done for whimsy)
> * Machine setup
> ** create a webapps folder somewhere sensible
> ** svn co https://svn.apache.org/repos/asf/comdev/nearby_people
> ** cp local_settings.py.example local_settings.py + set path of
>    webapps folder in it
> ** cd data
> ** as svn_role
> *** svn co https://svn.apache.org/repos/private/committers/info
> *** svn co https://svn.apache.org/repos/private/committers/local-outreach
> ** create an empty uid-created.ldif file (will copy over latest
>    ldapsearch when running, until we have better solution)
> ** elsewhere
> *** wget https://www.djangoproject.com/download/1.3.7/tarball/
> *** unpack django-1.3.7.tar.gz to <webapps-folder>/django-1.3
> * Cron
> ** for the svn_role - update for webapps path
> *** 20 * * * * cd /var/python_apps/nearby_people/data/info/ && svn up -q
> *** 40 * * * * cd /var/python_apps/nearby_people/data/local-outreach/ && svn
up -q
> * Httpd setup
> ** ideally port 80 for community.zones.apache.org & (new name)
> ** ideally port 443 for (new name)
> ** both hosting same basic vhost contents
> ** custom vhost settings (edit for webapp path)
> {code}
>      WSGIScriptAlias / /var/python_apps/nearby_people.wsgi
>      Alias /admin_media/
> /var/python_apps/django-1.3/django/contrib/admin/media/
>      <Location "/admin_media/">
>         SetHandler None
>      </Location>
> {code}
> * Email
> ** some sort of smtp setup so that error emails get out



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message