25 Commits

Author SHA1 Message Date
James E. Blair
66faa9c340 Serve the statusbot alert file from eavesdrop
Change-Id: I5c1a4adc25bab62564effba527122e57c229d1c5
2013-12-11 11:50:42 -08:00
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
Jeremy Stanley
67b91c1606 Serve IRC log files as MIME type text/plain.
* modules/meetbot/manifests/site.pp: Specify a nondefault vhost
template.

* modules/meetbot/templates/vhost.erb: New file, similar in content
to the default puppetlabs-apache vhost template but forcing MIME
type text/plain and a default encoding of UTF-8 for files ending in
a .log suffix.

Change-Id: Ief0253c2baac32b126472d0f97f0aa503adbbd7f
2013-07-20 20:36:32 +00:00
Monty Taylor
44202fb688 Add #openstack-infra to eavesdrop
There have been general requests for more logging of more things. I
think we might have a longer discussion there. But recently there have
been specific requests about -infra. I think that since discussions
around the gate and rather wide-spread project concerns wind up
happening in infra, we should definitely start logging it, and then we
can talk about whether other team channels should be logged or not.

Made this use an array of channels rather than a string for sanity.

Change-Id: I3f3e82aa86155d1ac3010ca3c3ade006b7a26793
2013-07-16 17:44:17 -04:00
Jeremy Stanley
fcda0d907f Remove remaining nginx removal cruft.
* modules/meetbot/manifests/init.pp: Remove a stray ensure absent
block for nginx configuration which tries to notify a nonexistent
service.

Change-Id: I4a086ea60afb777b72971b81ece3d53b99b29ff2
Reviewed-on: https://review.openstack.org/29863
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-22 16:17:25 +00:00
James E. Blair
67e81cc7fa Remove remove_nginx.
Remove remaining remove_nginx usage (it has been removed).

Change-Id: Icfd8c3ad7205777e50722ea82d1922bcad523e48
Reviewed-on: https://review.openstack.org/29819
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-05-20 20:40:03 +00:00
James E. Blair
37e88867a8 Don't automatically run meetbot/statusbot.
Change-Id: I8facfa48113d27fd18e700730a7a27a666bc2c40
Reviewed-on: https://review.openstack.org/28059
Reviewed-by: Jesse Keating <jesse.keating@rackspace.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-10 17:26:40 +00:00
Monty Taylor
74460853d1 Rename CI to Infra in MANY MANY places.
Change-Id: I409bd50ae374e0288531f07cfeea34856c5f8067
Reviewed-on: https://review.openstack.org/17319
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2012-12-16 17:30:47 +00:00
Paul Belanger
da3e3b72e9 Puppet-lint / Refactor meetbot module
This started as a puppet-lint clean up and ended up more a refactoring
of some of the logic.

Change-Id: I5315571fbef8ff4ebe2ae77d2d2b19a6fcd5798d
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/14113
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-10-08 16:00:17 +00:00
Clark Boylan
f40847dd78 Kill trailing whitespace.
Killed trailing whitespace in the puppet repo files using
`sed -r 's/\s+$//'`. Skip binary files and html templates for lodgeit
and mailman.

Change-Id: Ib43493161d8f0e8fae1426b22fb1737832ca14cd
Reviewed-on: https://review.openstack.org/12969
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-05 23:27:31 +00:00
James E. Blair
6860917686 Add meetingname to meetbot log files.
Change-Id: Ic0f9e1fa3af5ff7367e7580091808d77842369c7
Reviewed-on: https://review.openstack.org/11750
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-08-22 16:24:31 +00:00
Monty Taylor
a6c709c86f Clean up post-apache move carnage.
Change-Id: Ieeb8469126d64df75e7fa0fff67618daa6990674
Reviewed-on: https://review.openstack.org/11246
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:49:33 +00:00
Monty Taylor
7d8c838038 Align all web server usage on apache module.
Change-Id: Idd712a8ee5ec81c6b88b7d3e2270dce4da254927
Reviewed-on: https://review.openstack.org/10838
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 17:03:46 +00:00
Monty Taylor
246566d65e Replace manual git work with vcsrepo module.
Change-Id: Ia0f3acd50aab07cc83d13cd12c8f7fc67f1c697d
Reviewed-on: https://review.openstack.org/10832
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-07 07:09:43 +00:00
Monty Taylor
e498870959 Make a class for each type of server.
Change-Id: I520b77a4d83958a6a1c2472e87b28f6b8822d890
2012-07-23 10:33:20 -05:00
Monty Taylor
d025dca604 First pass at parameterizing secret infos.
Change-Id: Iee56a7e65be51ebf19a61eefd60cc93de6a764bf
2012-07-20 14:40:42 -07:00
James E. Blair
ae0f98e0cd Use unattended upgrades.
Stop using latest for packages installed by puppet.  This way,
all system packages get updated, not just some random ones.

The unattended-upgrades config will email root.  It is configured
for openstack servers and jenkins slaves, but not template hosts
so that it doesn't interfere with spin-up.

Also, fix some bits in the gerrit module that were causing
continuous restarts on gerrit-dev.

Install emacs.

Change-Id: I51c9083ccd3669f284fce4b50c36a37a0cac92d8
2012-06-05 22:59:46 +00:00
Andrew Hutchings
6764679829 Fix mime types
Fixes mime types for meeting logs.

Fixes bug #992719

Change-Id: I41f160bfff3e2dd5f1be1cd20f879adefeb16881
2012-05-02 10:52:08 +01:00
Andrew Hutchings
30d3e180a4 Set log file mime type
Log files were using a binary mime type, set to text/plain so they can be read on the server

Change-Id: I23aef66949d1b336fc82db1f4843e039bbbb71b3
2012-05-01 15:17:29 +01:00
Andrew Hutchings
7179bdbfbc Fix meetbot logs
Fixes bug #992597
Adds new basic index page (to be themed at a later date)
Moves nginx file serving to somewhere safer
Adds /irclogs link

Change-Id: Idae341741cd852e98b93a5b89d720615789fd328
2012-05-01 14:59:32 +01:00
Andrew Hutchings
7398348f39 Add auto-restart to meetbot
When the meetbot repo changes we should restart all instances using this repo

Change-Id: I4dedb2e05e2c053569cae23872e45f70f0796ed6
2012-05-01 08:55:04 +01:00
Andrew Hutchings
5c82018762 Use our meetbot branch
Change-Id: I0938831d18a286d88434dda87bfa76b731f3f34e
2012-04-27 16:57:52 +01:00
Andrew Hutchings
0e6c471785 Minor fixes to meetbot module
Make sure nginx reloads when deleting the symlink to the default setup
Make sure packages are latest so we get the latest security fixes

Change-Id: I3dbc529ead62591288cfe455d5c8348c62544dfa
2012-04-27 15:20:19 +01:00
Andrew Hutchings
56c5d302c6 Rename meetbot site
We use eavesdrop.o.o not meetbot.o.o
Also put nickserv pass in secret file (note the one that was in there is not the nickserv pass)

Change-Id: I254a07a49f8b0ba611f6eae6b33a266decdd5ed2
2012-04-26 18:26:28 +01:00
Andrew Hutchings
e992c82c55 Puts meetbot under control of puppet
Adds meetbot and an nginx setup to puppet.  See manifests/site.pp for usage

Change-Id: I47dcf2884a06441b482585bf5dae9f7d0bd7e543
2012-04-24 16:35:09 +01:00