13 Commits

Author SHA1 Message Date
Ryan Lane
26239bcb63 Add dependencies for lua and openid for mediawiki
We have OpenID and Scribunto installed, but their deps aren't
puppetized.

Change-Id: Iff3209ce0fd5bf811bd3b931e4a83518448e43c0
Reviewed-on: https://review.openstack.org/27862
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-05-01 17:49:12 +00:00
Ryan Lane
791268cf1d Manually manage mediawiki's checkout
We're managing mediawiki via git, but ensuring latest is a bad
idea, since we're using the wmf branches, and not master. If we
use ensure => latest, vcsrepo will continuously switch the branch
to master.

Change-Id: Ibb6f8758224798e0e90f81bbb64da8cb7dffa03a
Reviewed-on: https://review.openstack.org/20184
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: matthew-wagoner <matthew.wagoner@hp.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-24 21:39:54 +00:00
Ryan Lane
c6b606550d Fix alias order so that /w/images isn't overridden
Change-Id: Iccadd43221ed621a93beadf358159f94e3848941
Reviewed-on: https://review.openstack.org/20268
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-01-22 19:58:00 +00:00
Ryan Lane
f5defa100e Fix images url and add redirects for wiki
Images location from a url perspective is /w/images, not /images.
Also, add redirect from /article to /wiki/article.

Change-Id: I63f29a5c3e66e3a3e9c0dc53ac8deb9550390912
Reviewed-on: https://review.openstack.org/20167
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-01-21 22:05:08 +00:00
Ryan Lane
9c3c631573 Set image location explicitly
It's ideal for the image location in mediawiki to be outside of
its path. This allows you to have multiple copies of the software
while having the uploads in a shared spot.

Change-Id: Iae0ac3e13213353d6f101c62f5e150cf844b5694
Reviewed-on: https://review.openstack.org/17575
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2013-01-14 12:48:37 +00:00
James E. Blair
37daa678e2 Add ssl cert to wiki.o.o.
Change-Id: I6c6ad0ddd000e3f140cb08faef7dce2cb9ae7079
Reviewed-on: https://review.openstack.org/18349
Reviewed-by: Ryan Lane
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-12-18 23:00:55 +00:00
Matthew Wagoner
dd9f2c041b Cleanup mediawiki manifest lint parameter errors.
This patch aims to alleviate the 'parameterised class parameter without a default value' error that occurs in init.pp

Change-Id: Ie13e49612966c122f0253f8a6e75cde53e265754
Reviewed-on: https://review.openstack.org/15779
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2012-11-16 18:04:04 +00:00
Paul Belanger
512a3303a8 Address puppet-lint warnings for mediawiki
Also remove search.pp since this is just a place holder.

Change-Id: I2a862c84d6cb3d30abb5e9bfc5e139e9ec0b7df9
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/14988
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-31 09:22:28 +00:00
Matthew Wagoner
8a77c1bd24 Cleanup mediawiki init.pp, image_scaler.pp, and php.pp manifest lint errors.
Change-Id: I62bd3069bc491af0cd89569a1b306c765eeee864
Reviewed-on: https://review.openstack.org/14336
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
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-12 16:05:00 +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
Monty Taylor
46547e9225 Fix typo in mediawiki app module.
Change-Id: I1f4d999b8ceffd31e447e07bf419d422f4ad5026
Reviewed-on: https://review.openstack.org/11629
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-19 18:27:16 +00:00
Monty Taylor
ec69bcf6df Be explicit on vcs repo provier.
Change-Id: I5313d34e2590e4ef9c1bfb43bda47a3ccfeede56
Reviewed-on: https://review.openstack.org/11264
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-17 14:07:09 +00:00
Ryan Lane
7da354907e Initial commit of MediaWiki module
Change-Id: I6181e0d4a717d0a11ea2d741034db99435d5e180
Reviewed-on: https://review.openstack.org/10521
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-12 18:40:54 +00:00