You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@community.apache.org by "roel duenas (JIRA)" <ji...@apache.org> on 2018/12/05 18:41:00 UTC

[jira] [Updated] (COMDEV-201) Puppet config for ComDev zone migrated to VM

     [ https://issues.apache.org/jira/browse/COMDEV-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

roel duenas updated COMDEV-201:
-------------------------------
    Attachment: Download your data

> 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
>            Priority: Major
>         Attachments: Download your data
>
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@community.apache.org
For additional commands, e-mail: dev-help@community.apache.org