system-config/doc/source/paste.rst
Monty Taylor 258abe1a23 Use cgit server instead of github for everything
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.

Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
2013-08-19 10:19:47 -07:00

1.4 KiB

title

Paste

Paste

Paste servers are an easy way to share long-form content such as configuration files or log data with others over short-form communication protocols such as IRC. OpenStack runs the "lodgeit" paste software.

At a Glance

Hosts
Puppet
  • modules/lodgeit
  • modules/openstack_project/manifests/paste.pp
Projects
Bugs

Overview

For OpenStack we use a fork of lodgeit which is based on one with bugfixes maintained by dcolish but adds back missing anti-spam features required by Openstack.

Puppet configures lodgeit to use drizzle as a database backend, apache as a front-end proxy.

The lodgeit module will automatically create a git repository in /var/backups/lodgeit_db. Inside this every site will have its own SQL file, for example "openstack" will have a file called openstack.sql. Every day a cron job will update the SQL file (one job per file) and commit it to the git repository.

Note

Ideally the SQL files would have a row on every line to keep the diffs stored in git small, but drizzledump does not yet support this.