Commit Graph

14 Commits

Author SHA1 Message Date
Clark Boylan 95b9d8143c Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: I1494a2dd294c944f80f6cbe67cd96d7d39d70af7
2022-02-17 11:51:05 -08:00
James E. Blair 9e01268f33 Systemd: start lodgeit after network
If it starts too early, it may not be able to resolve its database
connection.

Change-Id: I470b4377a39f95e0da1617abd1325327823bdc83
2017-12-14 09:02:46 -08:00
Colleen Murphy 8a8f2ef4f9 Remove author comment in unit file
This was unnecessarily copied over from the init script template.

Change-Id: Id162978873de474911a83303f58297e6105d0727
2017-06-13 21:55:24 +02:00
Colleen Murphy d685933033 Add support for xenial
Add a systemd unit file for the paste service instead of relying on
upstart.

Change-Id: I9f43ca88fba5fd41c9a8aaf2e14ffa3f6b307619
Depends-On: If25da754ec107b8dba2d9343f16b54b99cc88e01
2017-06-11 22:33:04 +02:00
Spencer Krum 6ef73c05ef Use modern template syntax
Change-Id: Ic2429937e7d00ef0d9bc6773675977699a11cb44
2016-01-24 16:52:22 -08:00
Yolanda Robla b1cb51e864 Add mysql class to manage db, and configure db name
When using local mysql, this class is useful to automate
database creation. Also add the ability to configure database
name, so it can match the name created on mysql class.

Change-Id: I9c97b4a6355816b931e93d053f4748ef88f0a823
2015-10-15 17:37:16 +02:00
Colleen Murphy dc1445d742 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also fix lint
errors caught by the puppet-lint-absolute_classname-check and
puppet-lint-empty_string-check gem as well as arrow alignment errors
not caught before.

The has_variable? function in the layout.html.erb template will return
true whether $image is set to empty string or undef, so we change the
template to look for nil so that the new default of undef will work
correctly.

Change-Id: I6738cfef08e0cf2faeabed469b9eff5e3c0bbb5a
2015-08-03 19:21:36 -07:00
Monty Taylor 29f3962220 Migrate to using trove db for pastebin
The current drizzle-based pastebin has gotten a bit slow. Move to using
remote trove db.

Change-Id: I62fd164af26199fd9ed69770fac73c3e2f6a5344
2014-05-02 22:32:32 +00:00
Spencer Krum 9e5cad3ae6 Fixup lodgeit templates to use @global vars
Change-Id: I2948ef60f0de0c5d3b6288b915a44eb7c66c52fa
2014-03-13 21:04:30 -07:00
Jeremy Stanley 1d694ed2c0 Remove the all pastes listing.
* modules/lodgeit/templates/layout.html.erb: Adjusted to match the
changes made in https://review.openstack.org/16808 for the show_all
function/rule.

Change-Id: I2b5b600e1c35e4d5a179c47e1722a9b3792bbbcc
Reviewed-on: https://review.openstack.org/16930
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-26 22:17:02 +00:00
Monty Taylor 361495ea07 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
Andrew Hutchings 3c7efc0fab Cleanup puppet modules
Make files notify services to restart when changed
Improve planet's cron, spit out a date/time and append instead of overwrite log

Change-Id: I0c2ee96c4aff5512a891c49b8b2df5c20c9cab44
2012-02-06 16:32:34 +00:00
Andrew Hutchings f5a1f59f5a Fix lodgeit used in puppet
It appears the official lodgeit was abandoned in a broken state (I can't get it to work)
This branch switches to a hg branch of lodgeit that works and removes the need for the db hacks in the process

Change-Id: Ic4860e61b26bbde9bac7d5767e94ce066d244f78
2012-02-01 11:13:13 +00:00
Andrew Hutchings 25aaf4d124 Add lodgeit to puppet
Will automatically install paste.drizzle.org and paste.openstack.org onto a server

Change-Id: Ia2c1e37892f3ae8e3d4034e38ddfaa01c6a92a54
2012-01-31 16:11:02 +00:00